Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
Replies
6 replies
Answers
1 answer
Subscribers
8 subscribers
Views
7186 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I am trying to find a way to select a constant by expression for the Increment C
Bob
over 9 years ago
I am trying to find a way to select a constant by expression for the Increment Constant Smart Service (7.10). I need to be able to pick a specific constant based on another variable but I keep getting type mismatch errors. I have this working fine in an old Increment Constant Activity node from a plugin but was hoping to be able get rid of the plugin.
The constant needs to be type '(Content Constant)' but looks like my expressions are returning the integer value from the constant rather than the constant itself. Is there any function that can be used to return a constant type?
OriginalPostID-158696
OriginalPostID-158696
Discussion posts and replies are publicly visible
Parents
0
sikhivahans
over 9 years ago
@rrobins Hope I understood your question correctly, to the best of my knowledge, currently this isn't possible with the OOTB functionalities. As long as we are using the 'Increment Constant Smart Service' OOTB smart service, we are forced to use picker or autocomplete to select the constant. Still if you want to go with expression editor for selecting a constant, I guess this could be possible only with the shared plugin namely 'Get Constants By Name' at https://forum.appian.com/suite/tempo/records/type/components/item/i4BCLGOdlMUpdGVqT-RV7oRg74uEGJO5CX7OVw4rz1Bgd7Ltg6J2duTyqw2fy87/view/summary.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sikhivahans
over 9 years ago
@rrobins Hope I understood your question correctly, to the best of my knowledge, currently this isn't possible with the OOTB functionalities. As long as we are using the 'Increment Constant Smart Service' OOTB smart service, we are forced to use picker or autocomplete to select the constant. Still if you want to go with expression editor for selecting a constant, I guess this could be possible only with the shared plugin namely 'Get Constants By Name' at https://forum.appian.com/suite/tempo/records/type/components/item/i4BCLGOdlMUpdGVqT-RV7oRg74uEGJO5CX7OVw4rz1Bgd7Ltg6J2duTyqw2fy87/view/summary.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data