06-29-2009 10:35 AM
Hi,
I'd like to test during the execution of my sequence
1) If there is a process model which has launched the sequence
2) The name of the process model which has been launched
Does someone knows the sentence ??
Cause i've tried this in a "if" step and it doesn't seem to work properly :
RunState.IsProcessModel && RunState.Execution.GetModelSequenceFile().AsPropertyObject().Name == "Single Pass"
Solved! Go to Solution.
06-29-2009 11:14 AM
06-29-2009 11:34 AM
06-29-2009 02:48 PM
Here's another version
PropertyExists("RunState.Root.RunState.ProcessModelClient") ? ("Process model is " + NameOf(RunState.Root.RunState.Sequence) ) : "There is no process model"
cc
06-30-2009 05:04 AM
Thanks a lot DowNow... It's working fine !!