cancel
Showing results for 
Search instead for 
Did you mean: 

How to wirte condition

Former Member
0 Kudos

Hi

Plz advice me how to write a simple if condition here.

when source element A = 1...then I need to send 10 into target element

when source element A = 4 ... then I need to send 4 into same traget element.

regards,

Ansar.

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

Use "equals" Boolean function to equate the souce filed with the number, then use the "if" standard boolean function. This if ll also have else condition in it.

Regards,

Prateek

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

You will need

4 constants, 2 equals, 1 if then else and 1 if without else to achieve this.

Check if A equals constant of 1 and in the then statement of if then else, pass constant 10.

Check if A equals constant of 4 and pass it to the if without else, the output of this should become the input for the else clause of if with else.

regards

Sam

Former Member
0 Kudos

Hi Ansar,

IF A = 1 then 10

ELSE

IF A = 4 then 4.

Use two If functions, first check A = 1 if it is true assign u r desired value, in Else part of first IF fucntion assign an IF condition which is checking for A=4 , it's true then the output of second IF mapped to Else part of First IF function.The Output of First IF function mapped to u r target element.u will able to fullfill this condition by this way.

Cheers

Veera

>>>Reward Points,If it is needful.