cancel
Showing results for 
Search instead for 
Did you mean: 

Make the service task wait

nlitterat
Champ in-the-making
Champ in-the-making
Hi all
I would like to make the service task to wait so the application will move the state.
Something like user task but with service task.
If I am not mistaken this is possible with the shell task. (Which is a service task so it should be available right :?: )
Can somebody help me with this.
I really do not want to add other nodes to my diagram. I just want to be able to signal the service task to wait.
Thanks in advance
Nehemia
3 REPLIES 3

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
What is your usecase. You describe a technical 'problem' that might be circumvented/ not be a problem if you can solve it otherwise…

nlitterat
Champ in-the-making
Champ in-the-making
Thanks for the quick reply
I have a code that need to wait for a response from other systems. Can take days.
Sometimes I have a very long process and I do not want the engine to wait for it.
I have a solution but it involves events and spliting the diagram into several diagram. While logicly it is better descibed I think it is too much work and losly coupled.
I do think that making a node wait is something trivial in a WF engine logicly and not just technicly.
Can it be done or I need to find other way:?:

nlitterat
Champ in-the-making
Champ in-the-making
I decided in the end to use user task with activiti:taskListener
But I still think this is overkill Smiley Sad