on 07-13-2023 10:48 AM
Hello,
In my scenario I have two parallel UserTasks. If one of them is rejected I want to close the second one. I have configured ServiceTask with parameters as in a screenshot and request variable looks like this:{
"status": "COMPLETED"}For that in bpmworkflowruntime destination I changed a type of authentication to OAuth2ClientCredentials.
I want to add that the GET call works, I also tried using postman and I am able to make PATCH call from it and close the second UserTask.
Here is an error from Monitor Workflows app:
Best Regards
Wiktor
Hi Wiktor,
you cannot update a workflow/task instance using REST APIs from within the same workflow instance. See note 2884301. You effectively either need to find a BPMN modeling that has the desired effect, or you need to move the PATCH outside of the very same workflow/task instance it wants to update. The latter is also why the Postman approach works: it triggers outside of the workflow instance itself. So you are not reproducing the same situation with Postman than what you model.
Regards,
Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
8 | |
8 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.