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
Gustavo Silva said:If( cons!DATA_TO_EVAL,100," IS HIGHER" )
What you are trying to do here? If you simply compare it just like how you did when it had single item i.e., Pv!evaluate<cons!DATA_TO_EVAL then also it will compare all items in that constant with pv and return list of boolean values.
Hi, I tried a different solution I think I was not given the explanation of what I needed in the requirement, so I used something similar to thisassuming my constant is an array of 2 digits{89}cons!MY_CONSTANT_DEMO[1], according to the option I needed, I only required the first item, and well, I still appreciate your support.