• USA : +1 973 910 5725
  • INDIA: +91 905 291 3388
  • info@tekslate.com
  • Login

EVENT WAIT AND EVENT –RISE in Inforamtica

EVENT WAIT AND EVENT –RISE:

  • Create a work flow with the name w-event-wait-raise
  • Go to task menu click on create
  • Select the task type as event wait, enter the name event-source click-create
  • Drag the session s10, s20, s30 to the workflow designe
  • Double click on the event wait
  • Click on events tab
  • Please event the name of the file to watch D:/path/filename.txt click on ok

45

45

Event rise task:                                     

 The integration service rises the ‘user defined events ‘during the work flow run

The user defined events declared in work flow properties event tab

  • The event rise task are always use in conjunction with event wait task
  • The event raise task send a signal to the event wait task that a particular set of predetermined event have occurred
  • A user defined event is defined completion of tasks from start task to event raise task

Event wait task:

          An event wait task waits for a specific event to occur to start the next task in the work flow

  • Pauses the processing of the pipeline until a specified event occurs
  • There are two types of events can be defined
  1. File watch event (predefined event)
  2. User defined event

46

Procedure:

  • From tools menu selects work flow designer
  • From work flow menu select create ]
  • Enter the work flow name w-star-load
  • Selects the event tab
  • From tools bar click on new
  • Enter the event name dim- load – complete, click ok
  • Drop the sessions beside the work flow
  • From the workflow designer select task, select event raise and event wait
  • Create the task type event raise and event wait

47

Make link between tasks as described in work flow  Diagram

Double click on event raise task, select properties tab

Attribute

Value

User defined event

Dim-load-complete

From work flow designer select task, select command and event wait

Double click on command task and select command tab

From tool bar click on add a new command

Name

Command

Success

Copy e:/result.txt to c:/ batch 4pm

Click on apply and click okScreenshot_14

Double click on event wait task selects the event tab

Select the predefined eventScreenshot_14

Enter the name of the file to watch

C:\batch 4pm \result.txt

Click on apply and click on ok

Assignment task:

                    It allows you to assign the values (or) expressions to the user defined workflow variables

The user defined workflow variables are declared in a work flow properties variable tab

Decision task:

              The decision task allows you to define the condition and the condition is evaluated by integration service, returns true (or) false.

The decision task as a predefined condition variable called $decision-task-name. Condition, which is assigned with results of decision condition

  • Use the task instead of using multiple link condition

48

Procedure:

  • From tools menu, selects workflow designer, from the work flow menu select create
  • Enter the work flow name w-daily-weekly-wad
  • Select the variable tab from tool bar click on add a new variable

Name

Data type

Presentence

$$wkf-runs

Integer

Enter the default value =0

Bellow

Click ok

  • Drop the session beside the work flow
  • Create the task type assignment and decision
  • make a links between the task as described above
  • define the link condition between the S10 and assignment task                                    $S10.status =succeeded
  • double click on assignment task, select the expression tab
  • from tool bar click on add a new expression

USER DEFINED VARIABLE

OPERATOR

EXPRESSION

$$WKF-runs

=

$$wkf-RUNS+

Click on apply and click ok

Define the link condition between assignment and decision

$assign. Status=succeeded

Double click on decision task select the properties tab

Learn more about Informatica Interview Questions in this blog post. Interested in mastering Informatica? 
Check out this blog post to learn more Informatica Training Videos
AttributeValue
Decision nameMOD ($$WHF-runs, 7 )=0

Click on apply and click ok

Define the link condition between the decision and S20

$Decision. Condition=true

To view the presentence value right click on work flow select

For indepth understanding of Informatica, click on

Summary
Review Date
Reviewed Item
EVENT WAIT AND EVENT –RISE in Inforamtica
Author Rating
5

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on EVENT WAIT AND EVENT –RISE in Inforamtica"

    Leave a Message

    Your email address will not be published. Required fields are marked *

    Site Disclaimer, Copyright © 2016 - All Rights Reserved.

    Support


    Please leave a message and we'll get back to you soon.

    I agree to be contacted via e-mail.