cancel
Showing results for 
Search instead for 
Did you mean: 

Signal Processing

ncoonghe
Champ in-the-making
Champ in-the-making
Is there a way using REST API to send a signal at a process instance level. I do not see any REST API in the users guide. the API provided is a global one which will impact all the process instance..which is what I do not desire.

I have a situation..
Suppose I have a sub process and a boundary catching signal associated with it. Atask inside the subprocess is currently at a point where it requires an user action (User Task). Say there is a super user for the system who is allowed to do anything although the the current state of the subprocess is waiting on the user task assigned to some other user. The super user of the system does some transaction using the application and now based on the outcome, I want to send a signal to the process instance using a REST API so that the engine executes the boundary catching signal flow of the sub process. How do I do this ?

Basically I want the super user to be able to interrupt the flow of the process from the currently waiting user task to something else

Regards
Nirmal

3 REPLIES 3

martin_grofcik
Confirmed Champ
Confirmed Champ

ncoonghe
Champ in-the-making
Champ in-the-making
I do not understand this. Signals are global, I want it to be specific to the process instance. Also when I send the signal. It says I cannot send a signal to a User Task

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,
org.activiti.engine.RuntimeService#signalEventReceived(java.lang.String, java.lang.String, java.util.Map<java.lang.String,java.lang.Object>)
Regards
Martin