Page 1 of 1

Parameters Value In Sequencer

Posted: Sat Dec 25, 2010 12:57 pm
by sachinag
Hi,

I have a sequencer and I am passing some parameter values manually to it.

What i want is, if suppose i forgot to pass value to any one parameter, my sequencer should not run or if runs it should abort immediately or should prompt me for every parameter.

Can we do this in sequencer without using any user defined routine.

Please help me on this.

Regards,
Sachin Gupta

Posted: Sat Dec 25, 2010 1:45 pm
by chulett
A routine could simplify this but you could use trigger expressions to check your parameters for values and a Terminator stage to stop things when any are empty.

Posted: Sat Dec 25, 2010 4:42 pm
by ray.wurlod
A Nested Condition activity - which is basically a placeholder activity that only has triggers - would be ideal.

Posted: Sun Dec 26, 2010 2:49 am
by sachinag
Hi

Thanks for your reply,can you please brief me about how to use trigger expression to check parameters.

Regards,
Sachin Gupta

Posted: Sun Dec 26, 2010 9:10 am
by chulett
It would be an expression that evaluates to true or false, exactly the same as you would use in a Transformer constraint. When true, the trigger 'fires' and whatever is at the other end executes. You can check for failure condition(s) first and then use an Otherwise trigger for the good path or reverse that.