Hello everyone.
I'm using an external server that starts Creatio business processes via GET requests to ProcessEngineService.svc. An example request would be something like:
https://xxx.creatio.com/0/ServiceModel/ProcessEngineService.svc/UsrProcess/Execute?testId=8ed08067-1c3c-455f-8e4b-2b4b2727a7c7&caseNumber=ORD-11111
This works generally well. However, sometimes the process is not started. I can see in the logs of my external server that there were three requests made to ProcessEngineService.svc, but in the Creatio process log one can see that only two processes were started. The third one is not shown in the process log, so for whatever reason, the third process wasn't started. However, all the three requests to start the process were fundamentally the same (same process, just different text content in one attribute), so I can't see why one of them didn't work.
Has anyone an idea why this might happen?
Thanks in advance,
Kai
Like
Kai Wilker,
To investigate the issue and provide you with a solution we need the application logs and access to the application.
Please keep in touch with the support, they will provide you with all the needed help.
Best regards, Alex.
Hello,
Please check the IIS logs.
There should be an error in the IIS logs that might indicate the reason for this behavior.
Hello,
I've recognized that the GET request (as described above) returns a 404 error in the cases when the process is not started. Strangely, if I wait a couple of minutes, the same request all of a sudden works (i.e. returns a 200 status code). I'm not sure why the request would return a 404 error. Has anyone struggled with this as well?
I've now worked around by backtracking the request on the server side, i.e. once a 404 error is recognized, the server will wait a minute and try again until the error is not returned anymore. This works but is not an ideal solution.
Kind regards
Kai
Kai Wilker,
To investigate the issue and provide you with a solution we need the application logs and access to the application.
Please keep in touch with the support, they will provide you with all the needed help.
Best regards, Alex.