AnsweredAssumed Answered

Messaging a ReceiveTaskActivityBehavior?

Question asked by symphony.personalis on Feb 18, 2016
Latest reply on Feb 24, 2016 by jbarrez
I have a business process with a few service tasks that are backed by ReceiveTaskActivityBehavior. These tasks trigger external tasks such as remote script, web service etc  and wait for notification from them to complete the task.

Currently I use a single message handler that receives messages from the external tasks and notify the service tasks.

I currently send signal by:

runtimeService.signal(executionId, map);


Firstly, Is there any basic flaw in this approach? If Yes, Please suggest some alternative.

If No, Please help me resolve the below:

Since
runtimeService.signal
is a broadcast,  I am trying to send a message specific to the ReceiveTaskActivityBehavior task that is waiting without the listener subscribing to messages. Is it possible?

Thanks.

Outcomes