Hello All
Newly developed Project, just migrated to PROD. As a part of the Master Sequence, it trigger a PowerShell script using Execute Command Activity stage. Triggers is unconditional and was running fine for a day. All of the sudden in the Datastage server , it seems the IT management guys might have pushed the new security policy which block the script to execute.
But I am not sure why the Datastage process is waiting for ever in this stage?
My expectation is , Datastage should go the next stage to trigger the next step.
please correct me , if my understanding is not right?
Sequence - not triggering to the next stage
Moderators: chulett, rschirm, roy
Sequence - not triggering to the next stage
Thanks
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.
So... hard to follow your explanation but it sounds like the script is hanging rather than the unconditional trigger not 'firing' or the script not executing. It can't move on until the script starts and completes in some fashion. That or fails to start. Starts and never ends? Forever wait.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
I'm not talking about anything in particular other than the fact that for the trigger (any trigger ) to have something to evaluate - and for it to possibly 'fire' and allow the job to move on to the next stage - whatever the current stage is doing must complete first. Period. I'm not really sure how else to phrase that.
From what you are saying, your Powershell script is now hanging. This is not all that unusual with scripts. If they get into a situation where they need user interaction, they prompt for confirmation of some action let's say, not running in 'interactive' mode there's no-one there to answer, so it waits. Forever. Or could just be well and truly hung because of your aforementioned security policy change.
Last edited by chulett on Tue Sep 13, 2016 7:36 am, edited 1 time in total.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Code: Select all
Powershell.exe -noprofile -executionpolicy bypass -File
Thanks
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.