Hi,
I have a Job chain with four steps with EVENTS set on it:
Step 1: Move file from source A to Source B folder
Step 2: Run work flow which loads data to Staging
Step 3: Loads data from Staging to Consolidation (then drop staging table with that data)
Step 4: System_sleep
- Polling is set for 2 minutes
- "Checks if file is in use" option is checked
- I have a "lock" on the entire Job Chain.
Now what suppose to happen is that 5 files will arrive in "Source A" after every 30 minutes. Once file will arrive in Source A, Event will get triggered and chain should run all the way successfully. Which is working fine.
If ERROR occurs the job chain should STOP, but it runs again when 2nd file arrives in "Source A" after 30 min. I have applied the LOCK on Job Chain, assuming that it will let the chain run if successful, else hold the job chain in case of error.
Please help me understand what I am doing wrong here.
Thanks
TH