runtimeService.signalEventReceived on a task listener

cancel
Showing results for 
Search instead for 
Did you mean: 
Established Member

runtimeService.signalEventReceived on a task listener

Hello everyone,

I tried to implement a listener on complete of task with expression :

event: complete

class:

Expression:${runtimeService.signalEventReceived(signalName,executionId)}

Delegate expression :

But its not working and giving me an error

Is it possible ? or should I refer to specific task

Thank you in advance.

2 Replies
Established Member II

Re: runtimeService.signalEventReceived on a task listener

Chemsseddine,

What error are you receiving? Could you include some logs with this?

-JEarles

Established Member

Re: runtimeService.signalEventReceived on a task listener

Thank you for the reply , issue solved with  implementing the script in execution listener with the class org.activiti.engine.impl.bpmn.listener.ScriptExecutionListener

Thanks again