Receive BPM message from UiPath

I have created a Bonita BPM flow that starts a UiPath Job, that works perfect, starts the UiPath process including sending parameters.

The problem occurs when the process of UiPath must send data back to Bonita BPM, I have used the "Send BPM Message" activity in UiPath, the parameters loaded were:
MessageContent: "OK"
MessageName: "messageUiPath"
Process: "UiPathTest"

In the Bonita process I added a "Catch Message" event to catch messageUiPath and created a variable called messageUiPath (same name that MessageName in UiPath) to assign with the message value.

When I run the process on Bonita it gets stuck at the "Catch Message" step.
I created an automatic task that saves a log with the value of the UiPathmessage variable but it never writes the log because it is stuck in the "Catch Message".

Do you have any suggestions on how to solve?

Hello,

Are you sure that UIPath is able to communicate with your Bonita server? No firewall, or networking block, etc...

On Bonita side, in order to get more information on Message debugging, you can configure the Logger for the package org.bonitasoft.engine.execution.event to debug (that package is not very verbose, but it could help in some situations).

What I would do to investigate further is:

  1. Make sure that UIPath is able to reach my Bonita server
  2. create a "simulateUIPath" process that sends the message expected by your "UiPathTest" process to validate the configuration of "UiPathTest"
  3. depending on the findings in 1 or 2, then adapt the next action to fix the situation (fix network, change Bonita Message configuration, etc...)

Hope this helps,

Captain Bonita