cancel
Showing results for 
Search instead for 
Did you mean: 

tag should not be created at target side in mappin...

Former Member
0 Kudos

Hi all.

I hav a requirement wherein i need to generate a tag of a field depending on the input value .I mean,if input value is not matchin thn tag for that element should not be created .how can i achieve this in an user defined function.

thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Even though you will not create the tag in mapping but the empty tag will be there in MONI, so I think you will be ok with that.

Former Member
0 Kudos

In general you can use If & else, exists, equalS etc.. condition in you mapping to validate the data but if you can tell me source & target fields along with conditions then I will be having good idea of your problem.

Former Member
0 Kudos

Hi ,

I hav too many validations for the input so only i didnt mention them and i wrote UDF for my requiment.

And one of those is ,if i get input as "null" then tag for the target field should not be generated.

Former Member
0 Kudos

To validate "null" value you can use the below mapping..

Source -


> EqualS (Constant with null) -


> NOT ---> If -


> Then -


> Target

Former Member
0 Kudos

Hi ,

But i need to achive this in a UDF as i have other validations too.

//in UDF if i dont return anythin it ll throw an error.

thanks for u r answers...

Former Member
0 Kudos

The code which I posted was not looking as it is as I written due to some issue with some symbols..

refer this

http://www.flickr.com/photos/23639237@N02/2911950458/

Edited by: Sarvesh Singh on Oct 4, 2008 4:04 PM