Table of Contents

Search

  1. Preface
  2. Workflow Manager
  3. Workflows and Worklets
  4. Sessions
  5. Session Configuration Object
  6. Tasks
  7. Sources
  8. Targets
  9. Connection Objects
  10. Validation
  11. Scheduling and Running Workflows
  12. Sending Email
  13. Workflow Monitor
  14. Workflow Monitor Details
  15. Session and Workflow Logs
  16. Appendix A: Session Properties Reference
  17. Appendix B: Workflow Properties Reference

Workflow Basics Guide

Workflow Basics Guide

Example of User-Defined Events

Example of User-Defined Events

Say you have four sessions you want to run in a workflow. You want Q1_session and Q2_session to run concurrently to save time. You also want to run Q3_session after Q1_session completes. You want to run Q4_session only when Q1_session, Q2_session, and Q3_session complete.
The following workflow shows how to accomplish this using the Event-Raise and Event-Wait tasks:
""
To configure the workflow, complete the following steps:
  1. Link Q1_session and Q2_session concurrently.
  2. Add Q3_session after Q1_session.
  3. Declare an event called Q1Q3_Complete in the Events tab of the workflow properties.
  4. In the workspace, add an Event-Raise task after Q3_session.
  5. Specify the Q1Q3_Complete event in the Event-Raise task properties. This allows the Event-Raise task to trigger the event when Q1_session and Q3_session complete.
  6. Add an Event-Wait task after Q2_session.
  7. Specify the Q1Q3_Complete event for the Event-Wait task.
  8. Add Q4_session after the Event-Wait task. When the Integration Service processes the Event-Wait task, it waits until the Event-Raise task triggers Q1Q3_Complete before it runs Q4_session.
The Integration Service runs the workflow in the following order:
  1. The Integration Service runs Q1_session and Q2_session concurrently.
  2. When Q1_session completes, the Integration Service runs Q3_session.
  3. The Integration Service finishes executing Q2_session.
  4. The Event-Wait task waits for the Event-Raise task to trigger the event.
  5. The Integration Service completes Q3_session.
  6. The Event-Raise task triggers the event, Q1Q3_complete.
  7. The Integration Service runs Q4_session because the event, Q1Q3_Complete, has been triggered.
  8. The Integration Service runs the Email task.

0 COMMENTS

We’d like to hear from you!