I want to use an arithmetic operator in a conditional flow, as shown below:
<Step> <Condition>(receive.timestamp - start.timestamp) > 5000</Condition> <Name>raisefault</Name> </Step>
But when I try to save the API Proxy, I get the following error:
Server Error. For input string: "-"
I thought arithmetic operators were allowed in conditional flows.
Stephen
Solved! Go to Solution.
I believe this is an error in the documentation when it says arithmetic operations are supported. It should state that the are not supported (can somebody please correct me if I'm wrong).
Another way to accomplish this might be to do the calculation in a JavaScript callout before this step, save the answer in a variable, and use that variable in the condition.
I believe this is an error in the documentation when it says arithmetic operations are supported. It should state that the are not supported (can somebody please correct me if I'm wrong).
Another way to accomplish this might be to do the calculation in a JavaScript callout before this step, save the answer in a variable, and use that variable in the condition.
User | Count |
---|---|
7 | |
2 | |
2 | |
1 | |
1 |