 Former Member

# How to wirte condition

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.

10|10000 characters needed characters exceeded

Oct 10, 2007 at 09:42 AM

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

10|10000 characters needed characters exceeded
• Former Member
Oct 10, 2007 at 09:53 AM

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

10|10000 characters needed characters exceeded
• Former Member
Oct 10, 2007 at 09:47 AM

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.