Results 1 to 2 of 2

Thread: <action-state> is the first state of a flow

  1. #1

    Default <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. #2
    Join Date
    Nov 2008
    Posts
    742

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •