I have a process, inside which there are 2 events for requesting and receiving parameters. If I start a process using Postman, it breaks at the first event (request for parameters). Help me find a solution in which the process will not be interrupted.
What do you mean by “break”? What happens exactly?
I mean, the API call comes to the first event, and ends. And in response, I do not get the variables that are displayed at the end of the process. Sorry for my English, I am using a translator)
Then you have probably set “async before” or “async after” for the throwing event in the model. Synchronous execution of the process will end at the first async point.
no, these parameters are not active
Hello @A_M ,
the second event is for receiving an answer and contains a natural wait state. The thread coming from the API call will be returned at this point. After the answer has arrived there, the process continues and you should then be able to see the further progress.
I hope this helps
Jonathan
Yes, the process continues, there is no problem here. But no process variables are returned in response to my API request. As far as I understand, my request completes at the first event, but the process continues to the end
Yes, this property is active
Can you then see the process variables you are missing in your answer in the cockpit of your Camunda instance?
Yes, in Cocpit the process goes to the end and I see all the variables there.
What implementation do you use for the send event?