How do I test or debug logical flow for OR gateway ?

How do I test or debug logical flow for OR gateway ? I have used it and the process doesn't proceed even if either of the logical condition satisfies. Please suggest.

  Discussion posts and replies are publicly visible

Parents
  • +1
    Certified Lead Developer
    For debugging, I recommend looking at the process history under monitoring to look at the values of the PVs before and after the gateway execution.
    Additionally, if non-prod, add a script task before the gateway that executes the logical expressions in the outputs of the script task and store the results in PVs to see if the expression result is as expected.
  • I used a script task to check the expression before or gateway, In the expression I used pp!initiator in function - isusermemberofgroup . While debugging I got that pp!initiator had my name in it and I wasn't part of any of the group the function was comparing it to. I also then gave a default path which then worked correctly. Thanks for the help! Much appreciated.
Reply Children
No Data