cancel
Showing results for 
Search instead for 
Did you mean: 

Can i give an default value for a parameter in XSD???

Former Member
0 Kudos

I have an XSD with "TO" field, for trigerring an automatic mail using value mapping (ID).

Now i want to give an default value for the "TO" field in the XSD, so as if i dont get any value from value mapping the default should be taken. I gave it and checked , but not working, is this possible???

Do i have any other way to give the default value??? If i give constant in Graphical mapping, how to get the valyes from value mapping????

Any suggestions are welcome, thanks

sk

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

use mapWithDefault function.

When you give the wrong value (constants, ....) then it fails, In the mapping nothing come from source field then only the mapWithDefault function works and send it to the default mentioned address.

Former Member
0 Kudos

Given the default value in XSD directly using and XSD editor.

prateek
Active Contributor
0 Kudos

Try with mapWithDefault standard function if it suite your requirement.

Regards,

Prateek