Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this code we create a query to Camunda runtime to find process waiting for message "sdncAdapterCallbackRequest" with variable "SDNCA_requestId" set to value of requestID

If we don't find any process the code wait 1 minute to find a process (with sleep code..)

The problem

If the time between the call back and the "catch event" step is more than one minute we fail... and we need to wait the timeout (5 minutes) to exit the "Wait for asynchronous message" step