IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

Creating an initial and final state through a page state

About this task

In situations where a user wants to have data transported they can create a flow and set required information on a page then bind it to a page state within a flow.

Procedure

To create an initial and final state through a page state, do the following steps:

  1. Create an XUI project and a transaction file (define data and Context required).
  2. Create a initial state with an event named start.
  3. Create a final state and Choose OK as its exit event.
  4. Create a Page state and Add an event to the state.
    Note: The event OK for the page state is used to transfer the Page State to Final State.
  5. Connect these three states with a transition.
  6. Bind page to the page state and set action of the page to send out an event that is defined in the transaction.

    Example:

    Create an XUI file (JSP file) or Modify one to Choose the specific OK event. Taking XUI file as an example:

    1. Select the context of the flow which the user want to add the Page to (Generate the transaction first).

    2. Generate the XUI file and create a JSP file.
    3. Select the JSP file for the Page State in the flow editor.

      Note: After selecting the JSP file, the page name will change to the name of JSP file.
    4. Modify the event of the transition start from the page.
    5. Generate the transaction file and create the XML file again .
    6. Click the widget on the XUI form, select the Action tab>>Change Flow Event.

    7. Click Select and choose an event for the widget.

      Note: Choose the OK event as the child of the Page_page State, that means the OK event is sent by the Page state named page.
    8. Save the XUI file and Generate the JSP file.


Feedback