Hi all
I need some help on using the Update Constant Smart Service.
The constant in question contains a decimal value intended to be a threshold that a user can change when necessary.
I've created a process model with a start node, a user task, the Update Constant smart service and an end node.
The process model has a variable of type decimal called threshold.
Running the process completes without error, and the changed threshold variable is captured correctly.
However when I check the constant, the previous value remains unchanged.
The Smart Task is configured with the name of the constant and the threshold process value as inputs.
Any advice or examples will be greatly appreciated!
Regards
Stephen
Discussion posts and replies are publicly visible
Hi,
Do not select the constant from the Rules and Constants tab in the Expression Editor.** This may impact when you update constant. Please review documentation here https://docs.appian.com/suite/help/22.1/Update_Constant_Smart_Service.html it will provide some details how to configure and what are the considerations. Make sure your constant type and the value you are trying to save is same data type.
Rules and Constants