cancel
Showing results for 
Search instead for 
Did you mean: 

How to get signal name of the running process instance?

georgots
Champ in-the-making
Champ in-the-making

Hello

1. The user has sent a mail & now is waiting for response.

2. The response came before timer ran out, thus we can send a signal to continue, to do so:

3. A signal name should be sent to runtimeService thats says signalEventReceived

My idea was to :

A. Complete a task

B. Check if there are any signals waiting, if yes get signal name & send  signalEventReceived command.

How can i find out the name of the signal of the given running process instance?

runtimeService does not provide any method to query  ACT_RU_EVENT_SUBSCR table EVENT_TYPE_ column.

1 REPLY 1

salaboy
Star Collaborator
Star Collaborator

You need to probably find the signal name from the process definition and not the process instance. You can probably use the java model to get that information out. We are doing something similar in Activiti cloud, but we haven't reached the signals just yet. 

Look here: activiti-cloud-runtime-bundle-service/ProcessDefinitionMetaControllerImpl.java at develop · Activiti...