The timer task allows the integration service to wait for a specified period to start the next task.
The timer task operation in three different modes
The user can specify the date and time to start the timer from
The timer task can start the timer from the start time of the timer task the start time of the workflow (work let) or from the start time of the present workflow.
The user can provide a variable that lets the time task know when to start the timer from
double click the timer task select the timer tab
Select absolute type
Specify the date and time
Click on apply and click ok
Name | Data type |
$$start- time | Date/time |
Default value: 03/25/2009 03:27:10
Mm dd yyyy hh mm ss
Click on apply and click ok
Double click the timer task,
Select use this work flow variable click on ellipses
Select the variable click ok
Click on copy and click ok
If you want to enrich your career and become a professional in Informatica, then visit Tekslate - a global online training platform: "Informatica Training" This course will help you to achieve excellence in this domain.
The email tasks send and email notification message during workflow run
An email task can be configured as a standalone email task
An email task can be used with the link conditions to notify the successes or failure of the prior task
It can be created any ware in the workflow it can be used with link condition
Define the link condition $S10.status= succeeded and S20.status=succeeded
Double click on the email task select the properties tab
Attribute | Value |
Email user name | Srinu@yahoo.com |
Email subject | Session task succeeded |
Email test | Session task success |
Click on apply and click ok
Note: To work with the email task configure the email server with integration service
An email task is designed within the session task
Note: Email variables are allocated only within the content of the session, i.e., post-session email task
Procedure
Task | Type | Value |
On successful email | Reusable | On-success-email |
On failure email | Reusable | On-failure-email |
Click on edit to edit the success email
Attribute | Value |
Email user | Xyz |
Email subject | %E |
Email text | %g/n%L/n%R |
Note:
%E | defines session status |
%g | Attach session log |
%L | No of records loaded |
%R | No of records rejected |
%b | Session start time |
%E | defines session status |
%g | Attach session log |
%L | No of records loaded |
%R | No of records rejected |
%b | Session start time |
%c | Session completion time |
%s | Session name |
%w | Workflow name |
%m | Mapping name |
%v | Integration service name |
%d | Repository name |
%n | Newline character |
%J | tab |
Click on apply and click on ok
Similarly defines failure email task
Click on apply and click ok
The control task is used to after the normal processing of the workflow, they can stop, abort, fail any workflow or work let
SQL-transformation-script mode
When you configure the SQL transformation with the script mode it executes SQL queries “from external text fails”
When you configure the SQL transformation with the script mode it is created with three difficult codes
SQL.txt
Create table Dim-employee-SALES (emp no (4), ename varchar (20), sal.number(7,2), dept no number (4))
External file (script.TXT)
c:/SQL/SQL.txt
Share the file with the extension script.txt
Step(1)
Creation of source definition
Column name | Data type | Precession |
Script name | String | 500 |
Click on apply and click ok
From repository menu click on save
Step (2)
Creation of target definition
Column name | Data type | Precession |
Script result | String | 15 |
Script error | string | 1500 |
Click on apply and click ok
STEP (3)
Source file name script-result . txt
From left pane select the target
Output file directory c:/ batch 4pm
Output file name script.txt
From left pane select the SQL T/R
Set the following connection
Type | Value |
Relational | Batch 4pm-Trg-writer |
Click on apply and click ok
For in-depth understanding of Informatica click on
You liked the article?
Like: 0
Vote for difficulty
Current difficulty (Avg): Medium
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.