[rules-users] Alternate Flow Creation

srikanthp srikanth.parimi at napierhealthcare.com
Tue Nov 16 02:14:38 EST 2010


In process flow i need to execute alternate path based on some external
event. How can i do this ?

For Ex:In a process (shown below) billing activity was implemented using
work-item definition.
Process goes to next node i.e. Do some task only after completing billing
activity. I am calling completeWorkItem method after actually billing is
done in the application, so that process goes to next node.

http://drools-java-rules-engine.46999.n3.nabble.com/file/n1909549/flow.jpg 

But i have a requirement of once process is started (in the middle of
billing activity) user may choose to cancel the process. So based on an
external event i should do a compensating activity of billing and terminate
the process. How do i trigger this alternate path?

Thanks in advance for your help.

Regards,
Srikanth
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Alternate-Flow-Creation-tp1909549p1909549.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list