I am trying to find a way to select a constant by expression for the Increment C

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
  • @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.
Reply
  • @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.
Children
No Data