Announcement Announcement Module
Collapse
No announcement yet.
<action-state> is the first state of a flow Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • <action-state> is the first state of a flow

    Hello,

    How to make <action-state> (calling some bean method) the first step of a flow? Please provide a simple example for configuration.

    Thank you

  • #2
    It's as simple as literally defining the action-state as the first state of the flow. The first state in your flow.xml file is the first state by default.

    If you're using flow inheritance, and want to invoke an inherited state as the first state in your flow (or for some reason you want to explicitly set the starting state), then add the following attribute to your flow element:

    start-state="nameOfDesiredStartState"

    If you don't need a full-fledged action-state, you can always place evaluate and set elements in an on-start tag at the beginning of a flow.

    Comment

    Working...
    X