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
2 replies
Subscribers
6 subscribers
Views
1766 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Dear all, We have noticed that using the Increment Constant Smart Ser
nikolaosm
over 9 years ago
Dear all,
We have noticed that using the Increment Constant Smart Service (
forum.appian.com/.../Increment_Constant_Smart_Service.html)
but not setting the "Updated Constant Value" output back into a process variable results in asynchronous invocation of the Increment Constant Smart Service.
For example if we call the Increment Constant Smart Service, not use the "Updated Constant Value" and then read constant value in subsequent script task, sometimes results in the subsequent script task using the unupdated constant value. There is some type of race condition, which is solved if we read back the output of the Increment Constant Smart Service. BTW this is not mentioned in the docuemntation for the Increment Constant Smart Service.
Is this also the case for other smart service invocations? Are all smart service invocations for which the output is not read asynchronous?
OriginalPostID-208462
OriginalPostID-208462
Discussion posts and replies are publicly visible
Parents
0
Eduardo Fuentes
Appian Employee
over 9 years ago
That is the right approach. Since the propagation of the constant can take a few seconds you should use the output of the smart service instead. This is because the increment does not create a new version.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 9 years ago
That is the right approach. Since the propagation of the constant can take a few seconds you should use the output of the smart service instead. This is because the increment does not create a new version.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data