Posted: Mon Dec 09, 2013 5:33 am Post subject: How to send null values as part of submap in graphical map
Novice
Joined: 04 Jul 2013 Posts: 16
Hello,
i want to send couple of null parameters while calling sub maps from main map in V8. but i am unale to call that. i have tried to add an empty null local elements and call the sub map, but it is showing an error as type is mis matched.
The Graphical Data Mapper does apply strong type checking against the schema models for the input and output of the transforms.
If the model defines elements as optional or nillable, they will satisfy the type checking but may be not present during execution.
It appears that what you want to do here is reuse a submap that is designed for transforming a set of "N" elements in a case where you only have "N-2" elements in your input data.
The type checking will prohibit you from providing "dummy inputs".
Perhaps the solution you need to look to is to layer your submaps, so that you have a sumap that takes "N" inputs and then calls a nested submap taking the "N-2" inputs, which may also be used directly.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum