tasks-part-2.html-a
TRANSCRIPT
-
8/10/2019 Tasks-part-2.html-a
1/8
Home Informat ica Data Ware Housing Unix-She ll Scripts PL SQ L Contact Us
Complete reference to Informatica
Sharing
Discussion Forum
Discussion Forum
Introduction
ETL Life Cycle
What Is Informatica
Client Com ponents
Services Behind Scene
Try U R Hand's o n Admin-
Console
Transformation
Filter
Expression
Router
Sorter
Rank
Transaction Co ntrol
Source Q ualifier
Stored Procedure
SQL Transformation
Normalizer
Sequence Generator
WORKING WITH TASKS Part 2Naveen
17Ap r 2 0 11
TIMER TASK
The Timer task allows us to specify the period of time to wait before the Power
Center Server runs the next task in the workflow. The Timer task has two types of
settings:
Absolute t ime:We specify the exact date and time or we can choose a
user-defined workflow variable to specify the exact time. The next task in
workflow will run as per the date and time specified.
Relative t ime:We instruct the Power Center Server to wait for a specified
0
Share
PDFmyURL.com
http://informaticatutorials-naveen.blogspot.com/2011/04/difference-between-71-and-86.htmlhttp://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://informaticatutorials-naveen.blogspot.com/2011/04/source-qualifier-tf_21.htmlhttp://informaticatutorials-naveen.blogspot.com/http://naveen-datawarehousing.blogspot.com/http://unixshellscripts.blogspot.com/http://naveen-plsql.blogspot.com/http://informaticatutorials-naveen.blogspot.com/2011/04/contact-us.htmlhttp://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://informaticatutorials-naveen.blogspot.in/feeds/posts/defaulthttp://informaticatutorials-naveen.blogspot.com/2011/04/aggregator-transformation_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/sequence-generator-tf_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/normalizer-transformation_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/sql-transformation_21.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/stored-procedure-tf.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/source-qualifier-tf_21.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/transaction-control_21.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/rank-transformation_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/sorter-transformation_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/router-transformation_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/expression-transformation_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/filter-transformation_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/difference-between-71-and-86.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/try-u-r-hand-on-admin-console.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/services-behind-scene.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/powercenter-client.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/what-is-informatica_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/etl-life-cycle_20.htmlhttp://complete-reference-to-informatica.1049239.n5.nabble.com/http://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?u=http%3A%2F%2Finformaticatutorials-naveen.blogspot.in%2F2011%2F04%2Fworking-with-tasks-part-2.html%23axzz27gqAxCpQ&t=Complete%20reference%20to%20Informatica%3A%20WORKING%20WITH%20TASKS%20%E2%80%93Part%202&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=stumbleupon&u=http%3A%2F%2Finformaticatutorials-naveen.blogspot.in%2F2011%2F04%2Fworking-with-tasks-part-2.html%23axzz27gqAxCpQ&t=Complete%20reference%20to%20Informatica%3A%20WORKING%20WITH%20TASKS%20%E2%80%93Part%202&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=digg&u=http%3A%2F%2Finformaticatutorials-naveen.blogspot.in%2F2011%2F04%2Fworking-with-tasks-part-2.html%23axzz27gqAxCpQ&t=Complete%20reference%20to%20Informatica%3A%20WORKING%20WITH%20TASKS%20%E2%80%93Part%202&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=delicious&u=http%3A%2F%2Finformaticatutorials-naveen.blogspot.in%2F2011%2F04%2Fworking-with-tasks-part-2.html%23axzz27gqAxCpQ&t=Complete%20reference%20to%20Informatica%3A%20WORKING%20WITH%20TASKS%20%E2%80%93Part%202&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=google&u=http%3A%2F%2Finformaticatutorials-naveen.blogspot.in%2F2011%2F04%2Fworking-with-tasks-part-2.html%23axzz27gqAxCpQ&t=Complete%20reference%20to%20Informatica%3A%20WORKING%20WITH%20TASKS%20%E2%80%93Part%202&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=twitter&u=http%3A%2F%2Finformaticatutorials-naveen.blogspot.in%2F2011%2F04%2Fworking-with-tasks-part-2.html%23axzz27gqAxCpQ&t=Complete%20reference%20to%20Informatica%3A%20WORKING%20WITH%20TASKS%20%E2%80%93Part%202&p=informaticatutorials-naveen.blogspot.inhttp://www.seocentro.com/cgi-bin/promotion/bookmark/bookmark.pl?b=facebook&u=http%3A%2F%2Finformaticatutorials-naveen.blogspot.in%2F2011%2F04%2Fworking-with-tasks-part-2.html%23axzz27gqAxCpQ&t=Complete%20reference%20to%20Informatica%3A%20WORKING%20WITH%20TASKS%20%E2%80%93Part%202&p=informaticatutorials-naveen.blogspot.inhttp://if%20%28%28navigator.appname%20%3D%3D%20%27microsoft%20internet%20explorer%27%29%20%26%26%20%28document.all%29%29%20%7Bwindow.external.addfavorite%28%27http//informaticatutorials-naveen.blogspot.in/2011/04/working-with-tasks-part-2.html#axzz27gqAxCpQ',%20'Complete%20reference%20to%20Informatica:%20WORKING%20WITH%20TASKS%20?Part%202')}%20else%20if%20(window.sidebar)%20{window.sidebar.addPanel('Complete%20reference%20to%20Informatica:%20WORKING%20WITH%20TASKS%20?Part%202',%20'http://informaticatutorials-naveen.blogspot.in/2011/04/working-with-tasks-part-2.html#axzz27gqAxCpQ',%20'')}%20else%20{alert('Press%20CTRL-D%20(Netscape)%20or%20CTRL-T%20(Opera)%20to%20bookmark')};http://informaticatutorials-naveen.blogspot.in/2011/04/working-with-tasks-part-2.htmlhttp://informaticatutorials-naveen.blogspot.in/http://informaticatutorials-naveen.blogspot.com/2011/04/contact-us.htmlhttp://naveen-plsql.blogspot.com/http://unixshellscripts.blogspot.com/http://naveen-datawarehousing.blogspot.com/http://informaticatutorials-naveen.blogspot.com/http://informaticatutorials-naveen.blogspot.in/ -
8/10/2019 Tasks-part-2.html-a
2/8
.
8 .6
Informatica 8.6 Installation
Interview Zone
Informatica Real Time
Interview QuestionsInformatica Experienced
Interview Questions - part1
Informatica Experienced
Interview Questions - part2
Informatica Experienced
Interview Questions - part3
Informatica Experienced
ggrega or
Union
Joiner
Update Strategy
Look Up
Subscribe to LearnInformatica
Like 157 people like th
period of time after the Timer task, the parent workflow, or the top-level
workflow s tarts.
Example:Run session s_m_filter_example relative to 1 min after the timer task.
Ste ps for creating workflo w:
1. Workflow -> Create -> Give name wf_timer_task_examp le -> Click ok.
2. Click Tasks - > Create - > Select TIMER from list. Give name
TIMER_Example. Click Create and then do ne.
3. Link TIMER_Example to START task.
4. Right click TIMER_Example-> EDIT -> TIMER tab.
5. Select Relative Time Option and Give 1 min and Select From start time of
this task Option.
6. Apply -> OK.
7. Drag s_m_filter_example and link it to TIMER_Example.
8. Workflow- > Validate and Repos itory -> Save.
PDFmyURL.com
http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://www.feedburner.com/http://feeds.feedburner.com/CompleteReferenceToInformaticahttp://informaticatutorials-naveen.blogspot.com/2011/04/lookup-transformation.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/update-strategy-transformation.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/joiner-transformation_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/union-transformation_21.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/05/informatica-experienced-interview_26.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/05/informatica-experienced-interview_23.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/05/informatica-experienced-interview_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/05/informatica-experienced-interview.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/05/informatica-real-time-interview.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/steps-to-install-informatica-power.html -
8/10/2019 Tasks-part-2.html-a
3/8
n erv ew ues ons - par
Data Warehousing concept
Based Interview Questions
Testing
Unit TestingIntegration Testing
UATInformatica TestingDebuggerConstraint Based lo adingTarget Load Plan
AdvancedConcepts
Mapping Parameter's &
Variable
Mapplets
Partitioning
Working with links
Scheduler
Types o f Task's - 1
Types o f Task's - 2
Indirect Method for Loading
SCD - Type 1
SCD - Type 2
SCD - Type 3
Incremental Aggregation
Mapping Templates
Grid Processing
Work Flow Variables
Enter your email address :
Subscribe
Delivered by FeedBurner
Performance-Tuning
Necessity Of
Performance-tuning
Identification Of bo ttle
Necks
Optimization o f Bottle
necks
Performance tuning o f
Lookup
Push Down Optimization
Chat with Me
Chat with MeOffline
Visitor's
DECISION TASK
The Decision task allows us to enter a condition that determines the
execution of the workflow, similar to a link condition.
The Decision task has a pre-defined variable called
$Decision_task_name.condition that represents the result of the decision
condition.
The Power Center Server evaluates the condition in the Decision task and
sets the pre-defined condition variable to True (1) or False (0 ).
We can specify one decision condition per Decision task.
Example:Com mand Task should run o nly if either s_m_filter_example or
S_M_TOTAL_SAL_EXAMPLE succeeds . If any o f s_m_filter_exampl e o r
S_M_TOTAL_SAL_EXAMPLE fails then S_m_sample_mapping_EMP should run.
PDFmyURL.com
http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://www.histats.com/http://informaticatutorials-naveen.blogspot.com/2011/04/push-down-optimisation.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/performance-tuning-of-lookup.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/optimizing-bottlenecks.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/identification-of-bottlenecks.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/performance-tuning-overview.htmlhttp://feedburner.google.com/http://informaticatutorials-naveen.blogspot.com/2011/04/workflow-variables_25.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/grid-processing.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/mapping-templates.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/incremental-aggregation_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/scd-type-3.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/type-2_21.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/scd-type-1.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/indirect-loading-for-flat-files.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/working-with-tasks-part-2.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/working-with-tasks-part-1.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/schedulers.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/working-with-links.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/partitioning.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/mapplets.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/mapping-parameters-variables.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/target-load-order.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/constraint-based-loading-in-workflow.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/debugger.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/informatica-power-center-testing.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/user-acceptance-test.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/integration-testing_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/04/unit-testing_20.htmlhttp://informaticatutorials-naveen.blogspot.com/2011/05/data-warehousing-concepts-based.htmlhttp://lh5.ggpht.com/_MbhSjEtmzI8/Tapaw3yzT1I/AAAAAAAAAOY/ozEgBWV78Vc/s1600-h/clip_image002%5B4%5D.jpg -
8/10/2019 Tasks-part-2.html-a
4/8
Ste ps for creating workflo w:
1. Workflow -> Create -> Give name wf_decisio n_task_examp le -> Click ok.
2. Drag s_m_filter_example and S_M_TOTAL_SAL_EXAMPLE to workspace
and link bo th of them to START task.
3. Click Tasks -> Create -> Select DECISION from list. Give name
DECISION_Example . Click Create and then done . Link DECISION_Example
to bo th s_m_ filter_example and S_M_TOTAL_SAL_EXAMPLE.
4. Right click DECISION_Example-> EDIT -> GENERAL tab.5. Set Treat Input Links As to OR. Default is AND. Apply and click OK.
6. Now edit decision task again and go to PROPERTIES Tab. Open the
Expression editor by clicking the VALUE section of Decision Name attribute
and enter the following condition: $S_M_FILTER_EXAMPLE.Status =
SUCCEEDED OR $S_M_TOTAL_SAL_EXAMPLE.Status = SUCCEEDED
7. Validate the condition -> Click Apply -> OK.
8. Drag command task and S_m_sample_mapping_EMP task to workspace
and link them to DECISION_Example task.
9. Double click link between S_m_sample_mapping_EMP &
DECISION_Example & give the condition: $DECISION_Example.Condition= 0. Validate & click OK.
10. Double click link between Command task and DECISION_Example and
give the condition: $DECISION_Example.Condition = 1. Validate and click
OK.
11. Workflow Validate and reposito ry Save.
12. Run wo rkflow and see the result.
PDFmyURL.com
http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://lh6.ggpht.com/_MbhSjEtmzI8/Tapa0iS5qEI/AAAAAAAAAOg/idQukEa5Y6E/s1600-h/clip_image002%5B5%5D%5B3%5D.jpg -
8/10/2019 Tasks-part-2.html-a
5/8
CONTROL TASK
We can use the Control task to stop, abort, or fail the top- level workflow o r
the parent workflow based o n an input link condition.
A pa rent wo rkflow or wo rklet is the wo rkflow or wo rklet that con tains the
Control task.
We give the condition to the link connected to Control Task.
Co nt ro l Opt io n De script io n
Fail Me Fails the contro l task.
Fa il Pa ren t Marks the s ta tus o f the WF o r wo rkl et that conta ins the
Control task as failed.
Stop Parent Stops the WF or worklet that conta ins the Contro l task.
Abo rt Parent Abo rts the WF or wo rklet that conta ins the Contro l task.
Fail Top-Level WF Fails the workflow that is running.
Stop Top-Level WF Stops the workflow that is running.
Abo rt Top-Level WF Abo rts the wo rkflow that is runn ing.
Example: Drag any 3 sessions and if anyone fails, then Abort the top level
workflow.
Ste ps for creating workflo w:
1. Workflow -> Create -> Give name wf_control _task_exampl e -> Click ok.
2. Drag any 3 sessio ns to wo rkspace and link all of them to START task.
3. Click Tasks - > Create -> Select CONTROL from list. Give name cntr_task.
4. Click Create and then done.
5. Link all sessio ns to the control task cntr_task.
6. Double click link between cntr_task and any s essio n say
s_m_filter_example and give the condition:
$S_M_FILTER_EXAMPLE.Status = SUCCEEDED.
PDFmyURL.com
http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://pdfmyurl.com/?otsrc=watermark&otclc=0.01 -
8/10/2019 Tasks-part-2.html-a
6/8
7. Repeat above step for remaining 2 sessions also .
8. Right click cntr_task-> EDIT -> GENERAL tab. Set Treat Input Links As to
OR. Default is AND.
9. Go to PROPERTIES tab of cntr_task and select the value Fail top level
10. Workflow for Contro l Option. Click Apply and OK.
11. Workflow Validate and reposito ry Save.
12. Run wo rkflow and see the result.
ASSIGNMENT TASK
The Assignment task allows us to assign a value to a user-defined
workflow variable.
See Workflow variable topic to add user defined variables.
To use an Ass ignment task in the workflow, first create and add the
Ass ignm ent task to the workflow. Then configure the As signment task to
assign values or expressio ns to user-defined variables.
We cannot assign values to pre-defined wo rkflow.
Ste ps to create Assignment Task:
1. Open any workflow where we want to use Assignm ent task.
2. Edit Workflow and add user defined variables.
3. Choos e Tasks- Create. Select Assignment Task for the task type.
4. Enter a name for the Assignm ent task. Click Create. Then click Done.
5. Double-click the Assignment task to o pen the Edit Task dialo g box.
6. On the Expressio ns tab, click Add to add an ass ignment.
Share
Tweet
PDFmyURL.com
http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://www.facebook.com/sharer.phphttp://lh3.ggpht.com/_MbhSjEtmzI8/Tapa34XliNI/AAAAAAAAAOo/gndypNH7V10/s1600-h/clip_image002%5B7%5D%5B4%5D.jpg -
8/10/2019 Tasks-part-2.html-a
7/8
You can follow any responses to this entry through the RSS 2.0feed. You ca n leavea response.
0 Responses
Leave a Reply
Enter your comment...
Comment as:
Publish Preview
Links to this post
7. Click the Open button in the User Defined Variables field.
8. Select the variable for which you want to ass ign a value. Click OK.
9. Click the Edit button in the Expressio n field to o pen the Express ion Editor.
10. Enter the value or expressio n you want to assign.
11. Repeat steps 7-10 to add mo re variable assignments as necessary.
12. Click OK.
Reactions:
Submit
0
Get this
PDFmyURL.com
http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://www.bloggersentral.com/2010/07/install-floating-social-media-buttons.htmlhttp://informaticatutorials-naveen.blogspot.in/2011/04/working-with-tasks-part-2.html#respondhttp://informaticatutorials-naveen.blogspot.in/feeds/posts/default -
8/10/2019 Tasks-part-2.html-a
8/8
Next Entries Previous Entries
Create a Link
Recent Comments
20 09 - Complete reference to Informatica is proudly brought to you by Naveen
PDFmyURL.com
http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://pdfmyurl.com/?otsrc=watermark&otclc=0.01http://informaticatutorials-naveen.blogspot.in/2011/04/working-with-tasks-part-1.htmlhttp://informaticatutorials-naveen.blogspot.in/2011/04/scd-type-1.htmlhttp://www.blogger.com/blog-this.g