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
Example for usage around ancestorElementInstanceKey in modifyProcessInstance #134
Comments
Thanks for using the SDK and the feedback. Any chance of a minimal reproducer repo that I can work with that demonstrates this issue? |
This is the integration test for camunda-8-js-sdk/src/__tests__/zeebe/integration/Client-ModifyProcessInstance.spec.ts Line 24 in 7a8c696
Does that help you at all? |
Hi @jwulf, thanks for getting back to me. The unit test uses Here's a scenario, what is the difference between if i do In regards to a small reproducable repo it's kind of difficult. We use the SDK for my company github repos and those are private and can't be shared. |
The The grpc protocol doc comment is:
|
Here are some examples from the Operate codebase: |
This documentation from Camunda 7 may help understand the conceptual design of the feature, because it will follow the Camunda 7 ideas in principle: If you could give me a minimal reproducer that would help - like you create the most simple model the demonstrates the scenario, in a repo with some code that attempts to do the process modification, then we could work together on that. |
Hi @gijun19, how are you going with this? Did you solve this? |
SDK Component
This is related to Zeebe. We have an error handler process to retrying task that threw an error.
Expected Behavior
When an error is thrown, we expect that when we call
modifyProcessInstance
with the process instance key of the failed task, it completes successfully and the task that threw the error is retried successfully.Current Behavior
We had a case where an task failed within a parallel gateway process instance and the modify process instance call completed successfully but we saw no task get retriggered.
We had a case in a normal step where the following error was thrown.
Possible Solution
Judging by how its behaving differently in certain scenarios I have to believe its due to a configuration issue? At first glance it seems like
ancestorElementInstanceKey
is something we need to tweak on a case by case, but I'm struggling to find docuemntation around this and what exactly anSteps to Reproduce
Context (Environment)
Documentation around these parameters being passed would prove useful to developers that are trying to adopt Camunda. It would be useful to be able to process errored tasks as expected per the documentation.
The text was updated successfully, but these errors were encountered: