AnsweredAssumed Answered

State Machine / Wait State

Question asked by iainjross on Sep 1, 2015
Latest reply on Sep 3, 2015 by iainjross
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

Outcomes