5 Replies Latest reply on Apr 26, 2021 4:05 AM by Nico Heinze

    Link with user defined condition is not evaluated right

    Zuzana Patakova New Member

      Hi,

      I edited workflow with 4 session (s0, s1 or s2, s3), where is necessary to spit a flow according value from variable in param file.

                 s1

      s0->    or    ->s3

                 s2

      Something like:

      if $$power = 1 then runs session1

      elseif $$power!=1 then  runs session 2

       

      workflow variable $$power as integer is defined , also with default value

      variable from param file with value is visible in log

      links to session1 and session 2 had defined link condition  ($$power = 1 to session 1,$$power!=1 to session 2 )

       

      When I run workflow condition are not evalueted right, I used also decision compoment, but with the same incorrect result

      Could you please help me with that?

       

      Thanks!!!!

      ------------------------------------------------------

       

      see a log

       

      Severity Timestamp Node Thread Message Code Message

      INFO 22.04.2021 13:14 Session task instance [s_] : [VAR_27028 Use override value [0] for user-defined workflow/worklet variable:[$$power].]

       

      Severity Timestamp Node Thread Message Code Message

      INFO 22.04.2021  Link [s_0 --> s_1]: condition is FALSE for the expression [$$power!=1].

       

      Severity Timestamp Node Thread Message Code Message

      INFO 22.04.2021 13:14 Link [s_0 --> s_2]: condition is TRUE for the expression [$$power=1].