cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Help Required

Former Member
0 Kudos


Hi,

Please help...

if X(field) is not empty than concat Y space /

Else Output Y.

Please let me know how to check whether X is carrying any value or not.

Thanks

Accepted Solutions (0)

Answers (6)

Answers (6)

ranjit_rao
Participant
0 Kudos

Hi Sudheer babu,

Do the following Mapping.

It is tested and working fine.

Reply back if you have any queries

0 Kudos

Hi Sudheer,

U can try below approach

Former Member
0 Kudos

Hi Sudheer,

Hope this helps,

Regards,

Rakesh.

Former Member
0 Kudos

Hi,

>>if X(field) is not empty than concat Y space /Else Output Y.

>>Please let me know how to check whether X is carrying any value or not.

Here is my understanding of input is either equal to null or empty pass empty value else pass input value as o/p .

Xfield-->Mapwithdefault(empty)-->O/P

Regards

Venkat

Former Member
0 Kudos

Hi,

If your requirement is different from as i mentioned above,to check for empty or null ,below is the way.

Xfield--Mapwithdefault-->equals(empty)->if-->your logic

Regards

Venkat

iaki_vila
Active Contributor
0 Kudos

Hi Sudheer,

First of all i would check that the nodes exists with the node function Exists. Later if it's true the output i would check with the text function stringEquals that the node is equal to the constant (constant function) with empty string. If the output is true you have an empty string.

Regards,

Former Member
0 Kudos


Hi Inaki,

can you please share the screenshot.I am not able to do it .

Thanks,

Sudheer

Former Member
0 Kudos

Hi Sudheer,

  If X is not empty then what value you want to pass to the target ? is it Constant ?

   If yes then do the following mapping:

BR,

Anirban

former_member182455
Active Contributor
0 Kudos

Hi,

please follow the below mapping.

Regards

srinivas