Quote:
> Can i know if both of them can be accommodated together?
Ahem ... didn't I already say this?
Or, if you want B to execute regardless of the status of A, set no dependency at all. Just leave it empty, that will make B execute regardless of how A ended.
There IS an empty choice in that drop-down where it says "ENDED_NOT_OK". You can select that empty entry to empty out the field.
Of course, you could also set "ENDED_NOT_OK" and "ENDED_OK" in two separate lines, then check the "at least one status matches" option - but that would possibly be silly, as those two "top level" states already encompass pretty much everything there is.
------------------------------
# signature.sh --verbose=[true|false]
# no configurables beyond this point, only signature
Calendar Quote of the Month:
"The point of a DR test with a remote site is usually to be operational when your main site gets flooded / set on fire / invaded by Ninjas at an inconvenient moment."
Did you know?
Using the slide show widget for posting individual images is wrong! Please use the "insert image" button in the editor.
Pro Tip: I will NOT respond to PM asking for help unless there's an actual reason to keep the discussion off of the public forums!
'Efficient Solutions Monthly Magazine' says:
"Asking questions the right way never hurts!"
Here, have some tips:
http://www.catb.org/~esr/faqs/smart-questions.htmlhttps://www.chiark.greenend.org.uk/~sgtatham/bugs.html------------------------------
Original Message:
Sent: 07-08-2020 11:31 AM
From: guddeti
Subject: Dependency Execution
yeah Carsten,
What you mentioned is true.
My requirement needs to Satisy both of your Scenario's.
- one, you want B to execute only if A failed: set it to "if A ENDED_NOT_OK, else skip task"
- two, you want B to execute if A works fine: set it to ENDED_OK, else skip task"
Can i know if both of them can be accommodated together?
Original Message:
Sent: 07-08-2020 11:24 AM
From: Carsten Schmitz
Subject: Dependency Execution
Hi Pavan Shashikanth Guddeti,
I'm not entirely sure I understand. These scenarios are mutually exclusive:
- one, you want B to execute only if A failed: set it to "if A ENDED_NOT_OK, else skip task"
- two, you want B to execute if A works fine: set it to ENDED_OK, else skip task"
Or, if you want B to execute regardless of the status of A, set no dependency at all. Just leave it empty, that will make B execute regardless of how A ended.
Your screenshot would appear to show scenario one: Job A was ENDED_OK, the condition for B was "run if A ENDED_NOT_OK, else skip", and thus, B was skipped.
Best regards,
Carsten
------------------------------
# signature.sh --verbose=[true|false]
# no configurables beyond this point, only signature
Calendar Quote of the Month:
"The point of a DR test with a remote site is usually to be operational when your main site gets flooded / set on fire / invaded by Ninjas at an inconvenient moment."
Did you know?
Using the slide show widget for posting individual images is wrong! Please use the "insert image" button in the editor.
Pro Tip: I will NOT respond to PM asking for help unless there's an actual reason to keep the discussion off of the public forums!
'Efficient Solutions Monthly Magazine' says:
"Asking questions the right way never hurts!"
Here, have some tips:
http://www.catb.org/~esr/faqs/smart-questions.html
https://www.chiark.greenend.org.uk/~sgtatham/bugs.html
Original Message:
Sent: 07-08-2020 10:42 AM
From: guddeti
Subject: Dependency Execution
Hi Carsten,
Thanks for your quick response but this Particular change of Properties will work only for my 2nd Scenario but can i know how it can satisfy my 1st scenario also ?
If A is ended ok Normally then my B should Execute as usual.
I am getting below issue with change of Properties where my Successor job is Skipping(but i require it to Execute as Normal Way)
Original Message:
Sent: 07-08-2020 10:20 AM
From: Carsten Schmitz
Subject: Dependency Execution
------------------------------
# signature.sh --verbose=[true|false]
# no configurables beyond this point, only signature
Calendar Quote of the Month:
"The point of a DR test with a remote site is usually to be operational when your main site gets flooded / set on fire / invaded by Ninjas at an inconvenient moment."
Did you know?
Using the slide show widget for posting individual images is wrong! Please use the "insert image" button in the editor.
Pro Tip: I will NOT respond to PM asking for help unless there's an actual reason to keep the discussion off of the public forums!
'Efficient Solutions Monthly Magazine' says:
"Asking questions the right way never hurts!"
Here, have some tips:
http://www.catb.org/~esr/faqs/smart-questions.html
https://www.chiark.greenend.org.uk/~sgtatham/bugs.html
Original Message:
Sent: 07-08-2020 10:09 AM
From: guddeti
Subject: Dependency Execution
Hi All,
We do have a Scenario where we do have two jobs by name A and B.
A depends on B and if A is Ended ok then B can trigger.
But, we also require in other way where if A is Ended Not ok/Aborted then B should Start as a regular Execution.Can some one help us out here with this Scenario ?