Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
8 replies
Subscribers
7 subscribers
Views
3644 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Workflow gets struck at XOR gate. I am just comparing between 2 integer variable
saratrk
over 8 years ago
Workflow gets struck at XOR gate. I am just comparing between 2 integer variables as a condition. I am really unable to find the reason for it. Log shows the following error message.
016-04-11 10:12:29,099 [Appian Work Item - 18994 - ProcessExec01 : UnattendedJavaActivityRequest] ERROR com.appiancorp.util.BundleUtils - Cannot retrieve the value for key "address.processDesigner.displayName" from the bundle.
Any one please help.
OriginalPostID-205621
OriginalPostID-205621
Discussion posts and replies are publicly visible
Top Replies
PhilB
over 8 years ago
+1
Certified Lead Developer
I still think this is a bug as I'm pretty sure it breaches the BPMN specification. Still, the workaround of merging the flows using a script task works just fine.
0
Amit Mishra
over 8 years ago
Sarat, Open expression editor of XOR gate and check whether your condition is within double quote"". If yes, then It becomes string and this will not work for integer.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
saratrk
over 8 years ago
No double quotes... I am checking between 2 integer variables if pv!one_Integer=pv!two_Integer
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Bob
over 8 years ago
Is there more than one input to the XOR node? If so and it is in a loop it will hang us the second time around. If that is the problem use an empty script task to consolidate inputs before the XOR.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
saratrk
over 8 years ago
Yes. There are 2 inputs to XOR. And it is failing in second time of loop. But i did nto understand the "empty script task" solution that you proposed?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Bob
over 8 years ago
take the two separate input lines and make them inputs to a script task, then just one line from script task to XOR.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
saratrk
over 8 years ago
Wow! It worked. Simple solution but powerful. I didn't know about this weird behavior of XOR. Thank you so much Robins.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Bob
over 8 years ago
forum.appian.com/.../Looping_Process_Flow.html
When a looped flow enters an OR or an XOR gateway, the gateway pauses after the first instance token passes through – until all other incoming flows arrive.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
Certified Lead Developer
over 8 years ago
I still think this is a bug as I'm pretty sure it breaches the BPMN specification. Still, the workaround of merging the flows using a script task works just fine.
Cancel
Vote Up
+1
Vote Down
Sign in to reply
Verify Answer
Cancel