Service task is bypassed

I have created a process diagram like the one below and I’m running this diagram through APIs. When I deploy and run the project for the first time, I don’t encounter any issues and the process completes successfully. However, when I try to run the same process again, it skips the “Check credentials” service task after the “Login” user task and moves on to the next task. Additionaly, it routes itself based on the condition value that I provided the first time. What should I do?

PS: I wrote the external task API based on this link: Q&A: How Can I Complete a Service Task via the REST API? | Camunda

Can you upload the model.
Also - when you say that it “skips” the Check Credentials task do you mean that it doesn’t wait there or that it doesn’t run at all?

1 Like