Condition check from string

There isn’t a simple way to evaluate a condition in string form, without using external scripts that includes a function to return the result of the string condition.

**There is an EVAL() function, which Peter’s post directs you toward, so you can check that out above.

As an alternative to that, however, there are some workarounds to handle your problem. For example, you could use a Regex pattern to strip out the condition, then, and else parts, and implement it using built-in vb or UiPath activities.

Or, have the source that contains the condition in string form changed so that the evaluation is made through the UiPath automation rather than by using a hardcoded string.