Announcement Announcement Module
Collapse
No announcement yet.
Events That Don't Match Sent To Default State?? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Events That Don't Match Sent To Default State??

    Greetings!

    I have two primary views in a flow each recieves its own set of events. However, if I am in view state A and I recieve an event for view State B I would like it it to be automatically routed to that state. Is there an easy setup where I can route all events that don't match a particular state to a default view state?

    Other than a decision state, I don't see this functionality in SWF. A decision state would be redundant since, I will be evaluating each event twice: once for making the decision and another for that actual state that will be processing that event.

    Curtney

  • #2
    Remember that you can always include the "_currentStateId" parameters in the requests you send to SWF. If the indicated state id does not match the current state of the flow, the flow will first be switched to the specified current state before the event (specified in "_eventId") is signaled.

    Erwin

    Comment


    • #3
      Thanks Erwin, that did the trick.

      Comment

      Working...
      X