cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Functions ?

Former Member
0 Kudos

Hi Experts,

I need to Map based on the condition.

If = 2 then

insert `003´ in ACTION/EDIDC

What are the functions i use for above..

Thanks in advance...

Regards,

Yeswanth Raj.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Use the below logic:

input source field < FLAG> & constant with value 1 ->equals->NOT-> output will be either true or false.

Now write the below logic for <STATUS>

input source field <STATUS> & constant with value 2 ->equals-> output will be either true or false.

Give the output of both the above logic to AND->IFwithoutelse->Target element ACTION/EDIDC

ifwithout else

then -> Use constant with 003 value

chirag

Former Member
0 Kudos

Thanks Chirag..

for your detailed description...

Regards,

Yeswanth.

Answers (2)

Answers (2)

former_member556603
Active Contributor
0 Kudos

Hello Raj,

Use If with out else function..

Go through Sravia's Blog:

Some examples are there.

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

Thanks,

Satya .

Reward points if it is useful..

Former Member
0 Kudos

Hi,

you could use the functions:

- ifwithout else

- equalsA

- and

- Constant

Then you do:

Flag equalsA Constant (1) not

status equalsA Constant(2)

connect both with and-function -> the result is the input for the if-function

input for the then-value is Constant (003)

result of if goes in your target (ACTION/EDIDC)

If Flag or status are not always numeric compare them with the text functions.

Regards

Patrick