Database Reference
In-Depth Information
Event tasks - event wait and event raise
An event is simply a functionality that you wish to implement in a workflow. Informatica
PowerCenter has some system-defined events, and you can define user-defined events as
well.
There are two types of events:
The Event Wait task : This is the task that waits for a particular event to occur.
You can define the event for which the Event Wait task should wait. Once
triggered, the Event Wait task will wait infinitely for the specified event. As soon
the event occurs, the Event Wait succeeds and triggers the next task in the work-
flow.
In the Event Wait task, you can define system-defined events (predefined events)
or user-defined events.
Event Raise task : As opposed to Event Wait, the Event Raise task triggers a par-
ticular event in the workflow.
You can define only user-defined events in the Event Raise task.
Informatica PowerCenter events can be of two types—predefined or user-defined:
Predefined events : These are also referred to as system-defined events. They are
generally called file-watch events. You can use these events to wait for a specified
file at a specific location. Once the file arrives at the path mentioned, the Event
Wait or File Watcher triggers the rest of the tasks in the workflow.
User-defined events : You can create an event of your own based on the require-
ment. An Event Raise task is nothing but a sequence of tasks in the workflow. To
use a user-defined task, define the event under the workflow.
Before you can use user-defined events under event tasks, you need to create the event at
the workflow level. Perform the following steps to add the event to the workflow:
1. Open the workflow in the Workflow Manager for which you wish to add a user-
defined event, and then navigate to Workflow | Edit | Events .
Search WWH ::




Custom Search