Worklets - Groups of tasks
A group of tasks that can be reused in multiple Workflows is called worklet. Worklets are similar to mapplets in Mapping Designer. As you know from the previous chapter, you use mapplets in place of multiple transformations; similarly, you can use worklets in place of multiple tasks. When you wish to reuse the functionality implemented using multiple tasks, worklet is your answer. Since reusing a reusable tasks itself is a rare occurrence as you do not frequently reuse the logic of individual tasks, that makes using a worklet a rarer occurrence in Informatica. Worklet can surely save your time if you can reuse some existing functionality. Similar to workflow, worklet should also start with a start task.
Creating a Worklet
To create a Worklet, perform the following steps:
- In the Worklet Manager, go to
Worklets
|Create
:
- Specify the name of the Worklet. For our reference, we are using
wlt_WORKLET
as the Worklet name. Click onDone
:
The start task appears in the Worklet...