powercenter level1 unit16

Upload: christian-acosta

Post on 08-Jan-2016

215 views

Category:

Documents


0 download

DESCRIPTION

Presentation of PowerCenter Level 1 Labs Unit16

TRANSCRIPT

  • 7/17/2019 PowerCenter Level1 Unit16

    1/11

    1

    Unit 16. Workflow Variables and Tasks

    Unit 16

  • 7/17/2019 PowerCenter Level1 Unit16

    2/11

    2

    Unit Objectives

    Understand why and how to use: Link conditions

    Workflow variables

    Assignment tasks

    Decision tasks

    Email tasks

    Use these features in a workflow

    Unit 16

  • 7/17/2019 PowerCenter Level1 Unit16

    3/11

    3

    Link Conditions

    Yo can set conditions on workflow links! If the link condition is rue! the ne"t task is e"ecuted

    If the link condition is #alse! the ne"t task is not e"ecuted

    To set a condition" ri#$t%click a link and enter an e&'ression t$atevalates to Tre or false.

    $ou can use workflow variables in the condition %ne"t slide&

    Unit 16

  • 7/17/2019 PowerCenter Level1 Unit16

    4/11

    (

    Workflow Variables

    ask's(ecific

    variables

    )uilt'in system

    variables

    User'defined variables

    %ne"t slides&*re'defined variables

    Unit 16

  • 7/17/2019 PowerCenter Level1 Unit16

    5/11

    )

    User'defined workflow variables are declared in theworkflow +ariables tab , can (ersist across sessions

    *eclarin# User%*efined Workflow Variables

    Unit 16

  • 7/17/2019 PowerCenter Level1 Unit16

    6/11

    6

    +ssi#n,ent Task - ettin# User%*efinedWorkflow Variables

    /&'ressions Tab

    0eneral Tab

    Assigns a value to a user'defined workflow variable-ote: he variable must have been declared in the workflow +ariables tab

    Unit 16

  • 7/17/2019 PowerCenter Level1 Unit16

    7/11

    *ecision Task

    ests for a condition during the workflow and sets a flag based on

    the condition

    Use a link condition %or a .ontrol task& downstream to test the flag

    and control e"ecution flow

    .an use workflow variables in condition

    O'tions on all

    tasks to fail 'arent

    and disable

    Treat in'ts as

    +*O4

    Unit 16

  • 7/17/2019 PowerCenter Level1 Unit16

    8/11

    5

    /,ail Task

    /ends an email within a workflow-ote: emails can also be sent (ost'session in a /ession task

    .an be used with a link condition to notify success or failure of (rior tasks

    Unit 16

  • 7/17/2019 PowerCenter Level1 Unit16

    9/11

    Unit 16 LabLoad 7rodct Weekl8 +##re#ate Table

    .reate a workflow using: Link conditionsWorkflow variables Assignment task Decision task

    0un the workflow several times to simulateone week1s (roduction cycle

    Unit 16

  • 7/17/2019 PowerCenter Level1 Unit16

    10/11

    19

    Lab 4eview

    What did we accom(lish with this lab2

    3uestions2

    Unit 16

  • 7/17/2019 PowerCenter Level1 Unit16

    11/11

    11

    Unit 16 :i;

    When would you use: Link conditions2

    Workflow variables2

    Assignment tasks2 Decision tasks2

    Email tasks2

    Unit 16