Can we read Condition Expression

How to read condition expression (property)on a raise fault to better response based of specific condition expression failure ?

Say we have multiple conditional expressions and evaluating specific condition we want to respond on that Param condition failure.

what is the best approach to handle ?

0 3 170
3 REPLIES 3

Not applicable

You can use javascript and evaluate each condition, and set a particular message variable. Then use the same variable in the raise fault payload, do that it will so the message which condition failed.

You can use multiple raise faults but that will increase latency.

So, I suggest using javascript.

Understand alternate ways.. RF should able to provide more meta data to point specific condition failure(in a given multiple conditional flow) which will help respond back easily. It should be smart enough rather rely on JS approaches..

The RF will give info if you set rf for each condition separately.