Announcement Announcement Module
No announcement yet.
Forcing end state behaviour after a view state Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Forcing end state behaviour after a view state

    This might sound a little weird, I was looking up the API to write a code in my

    FlowExecutionListenerAdapter listener class.

    I am trying to forcibly end the flow when one of my view state is returned.
    How can I do this? The Flow class has end method, not sure if this could do the magic.

    Please note: I am doing this at the background, programatically...let me know if you have come across any such situations


  • #2
    Thinking differently,

    how can one, clean all those flows that are in paused state, which is not used by the user? I am thinking of timing out all paused states that are more than 2hrs and want to kill their sessions.