cancel
Showing results for 
Search instead for 
Did you mean: 

State Machine / Wait State

iainjross
Champ in-the-making
Champ in-the-making
Hi,

I am new to Activiti and so apologies upfront if this is a stupid question.

Anyway I have a long running process and I am struggling to see how to model this with Activiti.

In brief the process functions thus:

1. Any of a pool of users creates an instance of the process and provides various required information to start processing of a batch.
2. The process should then go into a 'wait state' (i.e. In Batch Mode).
3. At this point any of a pool of users can select / trigger actions (three separate items) to be performed against the batch and after any of these these complete (at this point there may be verification by a manager role) the process should go back to the wait state. This can be done an unspecified number of times.
4. A specific role should have the ability trigger another action that shall move the batch to a batch end state and ultimately this shall close down and complete the process.

Any advice on how to go about this? I am particularly interested in how to implement the 'wait' state. Any pointers to guides / tutorials appreciated.

Kind regards,
Iain
2 REPLIES 2

trademak
Star Contributor
Star Contributor
Hi Iain,

You could model this with a receive task or an event based gateway with a number of different signal intermediate catch events for example.

Best regards,

iainjross
Champ in-the-making
Champ in-the-making
Ok thanks. I shall look into those.
Regards,
Iain