Announcement Announcement Module
Collapse
No announcement yet.
What happen on server side if a flow exection is never completed Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • What happen on server side if a flow exection is never completed

    A flow is statful and server will keep track of application states. What happen on server side if a flow starts but never completed? For example, a flow is waiting for user input that is never submitted, how does cached states on server side are cleaned up?

    Thanks
    Jintou

  • #2
    SWF stores it's state in a FlowExecutionRepository. It's the repository that's responsible for cleanup and the like.

    You've got repository implementations that store flow state client side (e.g. ClientContinuationFlowExecutionRepository), while others store it server side (e.g. DefaultFlowExecutionRepository), typically in the HttpSession.

    State for abandoned flow executions will be cleaned up at the discretion of the FlowExecutionRepository but by default it will just be cleaned up when the HttpSession expires.

    Erwin

    Comment

    Working...
    X