Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delivery message request #59

Open
stefanoperna opened this issue Aug 4, 2020 · 1 comment
Open

Delivery message request #59

stefanoperna opened this issue Aug 4, 2020 · 1 comment

Comments

@stefanoperna
Copy link

stefanoperna commented Aug 4, 2020

Hi all,

there is a problem with the executions of "/engine-rest/message".

Here is my code:

        var _corrMsg = new CorrelationMessage
        {
            MessageName = "msg_start_maintenance",
            BusinessKey = null,
            CorrelationKeys = null,
            ProcessInstanceId = "0f177e4c-d596-11ea-8ba8-e65e375919a1",
            ProcessVariables = null,
            TenantId = null,
            WithoutTenantId = true,
            ResultEnabled = false,
            All = false
        };

        var res = await camunda_client.Messages.DeliverMessage(_corrMsg);

Response: ENGINE-13028 Cannot specify a tenant-id when correlate a message to a single process instance.

Thanks in advance for your help.

@jlucansky
Copy link
Owner

You should specify TenantId or leave WithoutTenantId set to false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants