Workflow Definition and Triggering Events 

Use

In the workflow editor you can see the activities in a workflow necessary for the workflow control. Before viewing single activities in more detail, take a look at the triggering events in the workflow Process Notification of Absence to get an overview of it.

Procedure

If you executed the first process step and reached the screen Workflow Template: Display, continue with step 8. Choose the Triggering Events tab.

  1. Call up the transaction as follows:
  2. Menu Path

    Tools ® Business Workflow ® Development ® Definition Tools ® Tasks/Task Groups ® Display

    Transaction Code

    PFTC_DIS

  3. Choose WS (Workflow sample) from the possible entries help for the Task type field to find the Workflow task "Process Notification of Absence".
  4. Enter Absence as the search term in the possible entries help for the Task field. Choose .
  5. Double-click on the Workflow sample AF_process Process Notification of Absence. The workflow template has the number WS30000015.
  6. Choose .
  7. The start of the workflow sample is linked to a change in status (event) of the business object Notification of absence. To see this triggering event, choose the Triggering Events tab page.
  8. The green light in the first line of the standard events table indicates that the link to the event Notif. of Absence Created is active.
  9. Each time a form Notification of Absence is created the workflow system starts this workflow sample. The workflow task link definition means that you do not have to change the Notification of absence application program to start a different workflow task in reaction to the event.

  10. Choose the Basic data tab page.
  11. Now observe the flow of the workflow.

  12. Choose the step Workflow Builder.
  13. The Workflow Editor starts.

    Technical information (Workflow steps, events, operators and containers) is displayed on the left side of the screen

    You can see a section of the flow definition in the middle of the Display area . You can display a particular section in the area by moving the green rectangle to the right of the Navigation Area. The activities and workflow control flow operations are displayed as green symbols. After each activity one or more rhombuses display its results or the scheduled events.

    By scrolling forward or backwards in the flow description you will get an overview of the activities in the Process notification of absence workflow sample:
    The two events on the top show that the workflow can either be started by the triggering event Form created or by hand in the dialog. The first activity Approve notification of absence either has the result Approved or Rejected. If it is approved, a flag is set and the applicant is notified. If the leave has been rejected, the applicant is informed and can decide whether to revise and resubmit the leave form or withdraw and delete it. Depending on this decision, the leave is resubmitted to the manager or the workflow is finished (‘loop: resubmit NoA).

  14. Do not choose , the next step continues here.