Usage of a script result to split a process - UseBooleanResultAsComponentSuccessValue

Hello,

In my process, i want to split into two sub processes based on the result of a script.

So i have a step which is a script component that return true of false..

I have read in a post here to use the variable UseBooleanResultAsComponentSuccessValue to accomplish this..

 So I set up the flag UseBooleanResultAsComponentSuccessValue to Value=true

Then i split my process into two steps based on the result of the script component.

Now when the script  component return false , i have this error , and the corresponding step does not execute :

ErrorMessages (2020-10-15 07:38:16.987) Script function "XXXX_script" returned False.

I think i dont understand how to use this variable. Do u have a working example ?

Thank you 

Parents Reply
  • Hi Barry,

    Thnx

    All the options are unchecked in my script..s

    should i check the 'Split processing' one ?

    If i do so, one output of this process (the red one becomes yellow ..and is marked Split Processing -True). Is that the way it should be ?

    Then is the variable UseBooleanResultAsComponentSuccessValue used as it should be ?

    BR,

Children