on 03-31-2016 1:09 PM
Hi All,
how is it possible to set a Chain in "completed" status if the chain is stopped because a step is in error status.
More exactly I want to avoid to execute all steps and "reset" the status of the Chain as "Completed", if this is possible.
I'm using Redwood 9.0.13.1
Any help will be greatly appreciated.
Thanks in advance for your kind support.
Regards,
Giovanni
Hello Giovanni ,
In order to keep the Job chain set to completed status even if a step or a job is in Error Status.
go to Definitions --> Job Chains --> Right click on job chain and select edit mode.
In Job chain edit window , Select the particular Step which you want to Mark as complete even its ended with Error. After you select the Step . On the Right side pane, there will be a field called " Final Status Handlers " . In that field you can set the status as per your requirement.
In the above screen shot of edit mode job chain window, You have selected the Job Chain box , that's the reason you were unable to see Final status Handlers on the right side pane.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Giovanni,
As suggested by Gerben, this can be achieved using the Status Handlers on Steps under the chain.
If you choose the Status Handler "On Error" /"On Killed" move to next Step, then even if step1 fails the chain will move to Step2 and so on. Though the Step1 status is error. The main jobchain status would be completed.
HTH.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Gerben and HTH,
Thank You for your quick reply and support.
I'm trying to find the point where I must choose the Status Handler "On Error" /"On Killed. In this picture, for example, I have a step in error if right click on this step I have a list of commands I don't find this option. Maybe this is not the correct point.
Can you give me more details?
Thank in advance for your kind support.
Regards,
Giovanni
Hello,
Add a final status handler, GoTo end of chain on status Error.
Regards Gerben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.