cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple conditions in one

Former Member
0 Kudos

Hi,

I have to put constants values L1 or L2 or L3 into a single target field but with constants it is not working.

Is their any other way of doing it?

Regards,

Aniruddha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Since, it is the target only which needs to be get feed, no source filed is their.

Regards,

Aniruddha

baskar_gopalakrishnan2
Active Contributor
0 Kudos

use constant function to add values and map it to target field. You dont need UDF to try.

Your requirement seems to be simple.

former_member189420
Active Participant
0 Kudos

Hello,

You can concatenate the constant values and map the result into the target field. This don't require UDF to be created.

Regards,

Anand Patil

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Prabhat,

Thanks a lot for your answers. I was just thinking can we use any graphical method to do this. As UDF usage is not allowed always in our scenarios here.

Regards,

Aniruddha

Former Member
0 Kudos

Hi,

The simplest way of doing it is using fix value function.

Regards,

Sainath Chutke

Former Member
0 Kudos

Thanks a lot everyone, my exact requirement is to have L1 OR L2 OR L3 to be feed in the target filed as it is not coming from sender.

Is there are graphical mappings for this re.

Regards,

Aniruddha

Former Member
0 Kudos

{

String S = "L1 or L2 or L3";

if ( a.equals(""))

{

return S ;

}

else

{

return a;

}

}

Former Member
0 Kudos

Hi,

here Fix value Function will not work we use it ,when we want to Use Some fix Value in Place of Any Particular value

Like .

Whenever Source Gets Key Value it will return your given value

key value

Prabhat P

So whenever source will come up with Prabhat it will rerurn P.

Regards

Prabhat

Former Member
0 Kudos

HI ,

Anirudha , you can Use XI functions Here ... Boolean Functions .. Like If else if . etc.

Or

You can Write UDF also

Give Ur exact requirement , I can make u a UDF or tell ya Graphical set of fuction to achive such requiremnet.

Regards

Prabhat Sharma.

Former Member
0 Kudos

>

> Hi,

> I have to put constants values L1 or L2 or L3 into a single target field but with constants it is not working.

> Is their any other way of doing it?

>

>

> Regards,

> Aniruddha

Hi,

On what conditions you need to send these constants to target ??

Regards

Rahul grover

Former Member
0 Kudos

Hi,

if you want to pass the constant values to the target field based on the condition then you can..using the Boolean OR Function.

or mention your exact requirement ...when the value of L1 or L2 or L3 to be passed to the target field

HTH

Rajesh