cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to signal Receive Task

holysoul
Champ in-the-making
Champ in-the-making
Hi all.
I just got more an error, what a terrible day.
Here is my problem, please help me solve it.
Summary

A is a service task
B is a received task
A will use expression to signal B
Here is logic of expression

    public void signal(DelegateExecution execution){
        runtimeService.signal(execution.getId());
    }


And I got an error :

this activity doesn't accept signals

I also attach my model. Thank you very much
2 REPLIES 2

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

As I understood process looks like:

Start-> ServiceTask -> ReceiveTask -> End

Service task tries to signal execution. Execution is still on the service task, that's why it is not possible to signal execution.

Regards
Martin.

holysoul
Champ in-the-making
Champ in-the-making
Thank martin, I got it now. I would try another way, for example, use another java thread to send signal. Hope it would work. Thanks again