Why Output of one XOR can't be input of another XOR?

Hello,

I have attached two XOR conditionally to each other.

When i debug this process it works fine for one instance but when it executes second time it halt at highlighted node.

 

Why this is happening?

  Discussion posts and replies are publicly visible

Parents
  • Hi Shubham,

    Unfortunately, this is Appian restriction that you cannot use OR and XOR back to back. You need to add dummy script task as mentioned by fellow practitioner. Also, try to name this script task as "Dummy" or any other name which directly reflects that you have added this intentionally. Add description in the task for this intention. This will help in 2 ways,

    1. Whoever, review or maintain this process in future, if unaware of this restriction, should not remove it. During code review and performance improvement we try to reduce number of nodes in the process. This node should not be target for that :)

    2. In future, if this restriction is removed, we can remove this types of nodes with less efforts.
    Thanks.
Reply
  • Hi Shubham,

    Unfortunately, this is Appian restriction that you cannot use OR and XOR back to back. You need to add dummy script task as mentioned by fellow practitioner. Also, try to name this script task as "Dummy" or any other name which directly reflects that you have added this intentionally. Add description in the task for this intention. This will help in 2 ways,

    1. Whoever, review or maintain this process in future, if unaware of this restriction, should not remove it. During code review and performance improvement we try to reduce number of nodes in the process. This node should not be target for that :)

    2. In future, if this restriction is removed, we can remove this types of nodes with less efforts.
    Thanks.
Children