Sequencer job OK Link
Moderators: chulett, rschirm, roy
Sequencer job OK Link
In a sequencer job if i have a link set conditionaly to OK, if the job that is running posts a warning, will it continue to the next job in the string?
Jim
Jim
Sure I need help....But who dosent?
Re: Sequencer job OK Link
nope... in that case you need to choose 'Warning - (Conditional)'
Hi,
No it will not continue if your only trigger is "OK" from a job activity - that denotes that the job activity completed without warnings. If you want your downstream link to fire if the job activity completes "OK" or "with warnings" then have 2 triggers from the job activity both linked to the same downstream activity, one for "OK" and one for "with warnings". That way the downstream activity will fire when the job activity completes "OK" OR "with warnings"
IHTH
Gil.
No it will not continue if your only trigger is "OK" from a job activity - that denotes that the job activity completed without warnings. If you want your downstream link to fire if the job activity completes "OK" or "with warnings" then have 2 triggers from the job activity both linked to the same downstream activity, one for "OK" and one for "with warnings". That way the downstream activity will fire when the job activity completes "OK" OR "with warnings"
IHTH
Gil.
hmmm...This is why i ask. I have a sequencer job multipul stages. In one perticulare stage has three links two ok(conditional) and one failure(conditional) The job that was running posted two warnings, but it only processed two rows. this is normal the job did what it was intened to do (except for the warnings), but after this job finished the sequencer job posted as finished with out running the following jobs. I didnt get any errors. Im still looking into it but im confused. Any help would be great.
Jim
Jim
Sure I need help....But who dosent?
I cant add more than one link to the next job stage. how do i do this?holgi02 wrote:Hi,
No it will not continue if your only trigger is "OK" from a job activity - that denotes that the job activity completed without warnings. If you want your downstream link to fire if the job activity completes "OK" or "with warnings" then have 2 triggers from the job activity both linked to the same downstream activity, one for "OK" and one for "with warnings". That way the downstream activity will fire when the job activity completes "OK" OR "with warnings"
IHTH
Gil.
Jim
Sure I need help....But who dosent?
Put in a Seqencer stage between the two job activity stages. Have 2 links from the 1st job activity to the sequencer stage, 1 for OK, 1 for warnings and have the output trigger from the sequencer stage set to ANY to fire the 2nd job. This way it will execute the 2nd job if the 1st job finishes with warnings or runs OK.
IHTH
Cheers,
Gil.
IHTH
Cheers,
Gil.
OHHHHHHH a sequencer stage!!!! ok i get itholgi02 wrote:Put in a Seqencer stage between the two job activity stages. Have 2 links from the 1st job activity to the sequencer stage, 1 for OK, 1 for warnings and have the output trigger from the sequencer stage set to ANY to fire the 2nd job. This way it will execute the 2nd job if the 1st job finishes with warnings or runs OK.
IHTH
Cheers,
Gil.
Jim
Sure I need help....But who dosent?
You can also skip the Sequencer stage in this case and use a Custom trigger, which can handle multiple conditions. For example, to check for Ok or Warnings in one link, put this in the Trigger:
Mix and match as you need!
Code: Select all
StageName.$JobStatus = 1 Or StageName.$JobStatus = 2
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
This is the best one for me
chulett wrote:You can also skip the Sequencer stage in this case and use a Custom trigger, which can handle multiple conditions. For example, to check for Ok or Warnings in one link, put this in the Trigger:
Mix and match as you need!Code: Select all
StageName.$JobStatus = 1 Or StageName.$JobStatus = 2
Another thought - depending on what is meant by 'less visible'. I change the default colors of the Sequence Triggers so that (basically) they are all unique. That way the Custom ones stand out for me as I can tell at a glance which ones are which.
Annotations and good names help, too. As you said, loads of ways.
Annotations and good names help, too. As you said, loads of ways.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers