I’ve created a workflow, which was running just fine, but starting of now, one of the activities goes into pending state with error 19:857, the activity executes the following PowerShell script on the CommServ:
The exit code 1 here, will be forwarded to a decision block.
Any help would be much appreciated.
Regards.
Page 1 / 1
Hi @Commvault Engineer , thanks for the post (as always)!
19:857 is a code that can contain various different messages. Can you see what the actual error message is? That will give us better direction.
Hi Mike,
Actually, I managed to fix the issue through the workflow's debug mode, the activity that was causing the “Pending” state is an ExecuteScript activity, which executes the script mentioned previously, when the script arrives to the “exit 1” phase, the activity generates an error through the exit code 1, and fails, which causes the whole workflow to fail.
After trying some tweaks, I managed to resolve it by forcing the activity to process its execution even with the error code 1, through one of the parameters on the general tab of the activity, don’t remember the exact parameter, and will update on this.
Hi Mike, as mentioned before, I used the parameter below to tune the activity in order to process the job.