Can you have more than one transition with a Delay trigger?

Nov 10, 2010 at 9:48 PM


I have a simple state machine worlflow with a couple of states and I'd like to have several transitions with their own Delay trigger that kicks off different events.  I have some long-running activities that I'd like to run on an infrequent basis and some short-running activities that I'd like to run on a more frequent basis.  But when testing the workflow, it only seems to run the first (shortest) delay trigger.

Can you have more than one Delay trigger on a state?



Mar 7, 2011 at 3:26 AM

In Statemachine, all trigger events for a source state will be scheduled after State's Entry activity is executed. In your case, the shortest delay trigger event will be fired the first. You could utilize the "Condition" in the transition to ensure that the transitions for short running activities won't always happen.