I have a job in GECS scheduler which will trigger a informatica workflow, if the job is late for 10 min then we need to create a mapping such a way that it will fail the workflow and trigger a mail to outlook saying the workflow is failed
Asked
Active
Viewed 62 times
-1
-
What is your question? Do you have a specific programming problem? – jmsinusa May 17 '19 at 20:20
-
Hi jmsinusa, I need to create a mapping in informatica.I have a job in GECS scheduler which will trigger a informatica workflow, if the job is late for 10 min then we need to create a mapping such a way that it will fail the workflow and trigger a mail to outlook saying the workflow is failed. – sudha sudha May 17 '19 at 20:57
-
Can we do it in informatica? – sudha sudha May 17 '19 at 21:00
-
yes, it can be done. – Samik May 17 '19 at 21:24
-
Hi Samik, can you explain in detail – sudha sudha May 17 '19 at 21:45
1 Answers
0
You can branch off your main workflow line to a timer task which starts as soon as the workflow starts. Set the timer to wait for the specified number of minutes then route to an email task on condition that the last task of the workflow has not succeeded. One caveat to this approach is that the workflow will always run for no less than the timer task is set for even when the rest of it has completed early. For this reason it is pragmatic to replace the timer task with a command task to a script which checks every few seconds for the final task completion and exits when this is true or after the set time interval

Daniel Machet
- 615
- 1
- 5
- 7