Is there a way to convert a String to evaluable SAIL expression ? I

Is there a way to convert a String to evaluable SAIL expression ?

I have a comparative expression saved in a database field, I need to retrieve it from the database and evaluate it within a condition in SAIL.

OriginalPostID-137948

OriginalPostID-137948

  Discussion posts and replies are publicly visible

Parents
  • You could try eval(). My understanding is that this is an undocumented function. You will have to test to make sure that it works with your Appian version. Example: eval("count({1,2,3})") returns 3. In your case, you may want to have an expression rule with a text input with the expression, and use eval(ri!input) as the rule definition.
Reply
  • You could try eval(). My understanding is that this is an undocumented function. You will have to test to make sure that it works with your Appian version. Example: eval("count({1,2,3})") returns 3. In your case, you may want to have an expression rule with a text input with the expression, and use eval(ri!input) as the rule definition.
Children