Get the current message from the input queue

To orchestrate bots, you need to leverage message queue systems' ability to handle messages to concurrent bots without two or more bots getting a duplicate message. In scripts for an orchestration process, you should use the Get Current Message from Queue (currentQueueMessage) command to dequeue messages from the input queue avoiding duplicate messages.

The Get Current Message from Queue command works only in scripts from the orchestration process. Its action is to dequeue the next orchestration process instance from the input queue associated with the script, as configured in the orchestration process step. Because this command depends on the orchestration process step configuration, it takes no input parameters. Even if two bots run this command at the same time, they won't get the same message from the input queue.