cancel
Showing results for 
Search instead for 
Did you mean: 

Writing Formula Scripts for Data Collection

Former Member
0 Kudos

Hello Experts,

I am working on having a formula scripts for one data collection parameter.  I am having problem writing "if" logic since I want to compare between two other parameters collected.  I cannot use the normal if syntax from Javascript.

Is there anyway to solve this issue?

Johnny

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Johnny,

What do you by IF does not work?

I've just tried a dummy script:

if (1>2) exit(1);

if (2>1) exit(2);

And the value of 2 is saved to the parameter successfully.

Regards,

Sergiy

Answers (0)