title: Shell Script to Check for Status of a informatica workflow
body: <p>We have two Informatica jobs that run in parallel.</p>
  
  <p>One starts at 11.40 CET and it has around 300 Informatica workflows in it out of which one is fact_sales.</p>
  
  <p>The other job runs at 3.40 CET and it has around 115 workflows in it many of which are dependent on fact_sales in term of data consistency.</p>
  
  <p>The problem is fact_sales should finish before certain workflows in process 2 starts for data to be accurate, but this doesnt happen generally.</p>
  
  <p>What we are trying to do is to split the process 2 in such a way that fact_sales dependent workflows run only after the fact_sales has finished.</p>
  
  <p><strong>Can you provide me a way to go about writing a unix shell script that check the status of this fact_sales and if it successfull then kicks off other dependent workflows and if not then it should send a failure mail.
  thanks</strong></p>