Drawing flow in flow editor

About this task

A flow performs a specific business process based on a defined flow of states. A flow must
  • starts with only one initial state.
  • ends with one or multiple final states.
  • has any other states with correct properties and events.
  • has proper transitions connecting these states assigned. Each transition is assigned with each event.
For detailed information on flow, please refer to Flows.

Procedure

To draw a flow in transaction editor, do the following steps:

  1. Create a BTT flow file and open it using BTT Transaction Editor.
  2. In the Transaction editor, click the Flow tab. In the Palette pane, there are State and Transition listed.
  3. Drag and drop the state from the Palette into the Flow editor area. To draw one kind of state multiple times, press Ctrl when dragging and dropping the state.
    Note: Another convenient way to drag and draw states (only applicable to Page state, Operation state, SubFlow state), you can drag and drop the referenced file from the explorer view (In BTT Perspective, the explorer view is BTT Project Explorer; in Java EE perspective, the explorer view may be Enterprise Explorer) to canvas.
  4. Set the property for each state.
  5. Connect the states using transitions.
  6. If you want to navigate the element in the Flow editor area through keyboard, press Ctrl+Arrow keys. The element will be focused as if it is hovered over by the mouse, instead of selected as if it is clicked by the mouse. Press Ctrl+Shift+Spacebar or Ctrl+Spacebar to switch between the two status.