cancel
Showing results for 
Search instead for 
Did you mean: 

Creation of records based on conditions

Former Member
0 Kudos

Hello experts,

I have a requirement in our project where the target record should be created only if a source field satisfies some condition.

for example

MT_Customer

     Records

          CustID

          CustName

Record in the target should only be created if length of CustName is greater than 5.

Could any one please let me know how to proceed?

Regards

Rishabh

Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

Hi Rishab,

Following the past advices you can get your target. (May be you should share your schemas and we can check any difference).

Example:

Queues:

Hope this helps.

Regads.

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks inaki was missing remove context.

Former Member
0 Kudos

Thanks for your replies.

I know how to apply conditions, but based on condition how will record be generated.

I have tried using createif also, but was not able to achieve this with that also.

Harish
Active Contributor
0 Kudos

Hi Rishabh,

The logic provided by Udo and Naveen should work. Can you please share the screenshot of mapping and your test, so we can check where is the problem?

regards,

Harish

naveen_chichili
Active Contributor
0 Kudos

Hi Rishabh,

You would be able to achieve this by standard functions.

IF-->Customer Name -- Length--Greater than 5 -->Customer

Thanks,

Naveen

udo_martens
Active Contributor
0 Kudos

Hi Rishabh,

this is very basic standard stuff:

A boolean/if without else function combined with text/length function.

/Udo