Hi,
I need help, well I need to make an evaluation from a process some data of a constant, this constant contains two decimal data.
I have something like this
With(
Pv!httpCall=200,
Pv!evaluate<cons!DATA_TO_EVAL
)
Assuming that my constant DATA_TO_EVAL, currently has only one data, I need to put two data in it,
Before I put two data to that constant, (originally it had 100, now in an array that constant has 100 and 50)
How can I do that evaluation from my process parameters as expression
I have tried doing an if
If(
cons!DATA_TO_EVAL,100," IS HIGHER"
But I don't get what I need, I don't know if I made myself clear, thank you very much...
Discussion posts and replies are publicly visible
If I understood correctly, I think this is what you are looking for.
Essentially, if all the items in the array meet a condition, it returns true, otherwise false. If you only need 1 item to be true, simply change the and() for an or(). You can adjust the condition to whatever you require.
and( a!forEach( items: { 200, 200, 200 }, expression: fv!item = 200 ) )