PR000041 practice question 3 of 15

Which of the following statements is correct on workflow events?

Full set: 69 questions
Answer options
A: A predefined (or file-wait) Event Wait task waits for a file to appear at the specified location. As soon as the file appears, the event succeeds and the file can be processed by the subsequent mapping
B: A user-defined event can be created a-d raised in one workflow and then used In another Correct answer
C: A predefined (or file-wait) Event Wait waits for a file to appear at the specified location. As soon as the file appears, it is deleted and the subsequent task will start.
D: A user-defined event can be created in either the Event Wait or Event Raise task
Correct Answer:
B. A user-defined event can be created a-d raised in one workflow and then used In another
Explanation

A user-defined event in Informatica PowerCenter is physically represented as a file. An Event-Raise task creates this file in a specified directory, and an Event-Wait task polls for its existence. Because this mechanism is file-based, it can be used to orchestrate and synchronize tasks not only within a single workflow but also across different, independent workflows, as long as they share access to the file system where the event file is created. This makes it a powerful tool for coordinating complex data processing pipelines.

Why Incorrect

A. This is not always true. If the "Delete file when event occurs" option is enabled, the file is removed upon detection and cannot be processed by a subsequent task.
C. This is incorrect because deleting the file for a predefined (file-wait) event is an optional setting, not a mandatory action. The default behavior is to not delete the file.
D. This statement is inaccurate. While an event name is defined in the properties of both task types, the event file is only created at runtime by the Event-Raise task.

References

1. Informatica PowerCenter 10.5, Advanced Workflow Guide, Chapter 10: Events, "User-Defined Events" (Page 161): "You can use user-defined events to synchronize tasks in the same workflow or in different workflows." This directly supports the correctness of option B.

2. Informatica PowerCenter 10.5, Advanced Workflow Guide, Chapter 10: Events, "Predefined Events" (Page 160): "You can also configure the Event-Wait task to delete the watch file after it detects the file." This confirms that deletion is optional for predefined events, invalidating the absolute claims in options A and C.

3. Informatica PowerCenter 10.5, Advanced Workflow Guide, Chapter 10: Events, "User-Defined Events" (Page 161): "The Event-Raise task creates the user-defined event file, and the Event-Wait task waits for the event file to appear." This clarifies the distinct roles of the tasks, showing that only the Event-Raise task "creates" the runtime event, which makes option D incorrect.

Scroll to Top