AnsweredAssumed Answered

Handling null value(empty value) in xml profile and subtract function.

Question asked by NaveedAshfaq5621 on Jul 30, 2013
Latest reply on Jul 30, 2013 by Adam Arrowsmith
I have a xml profile which has element that should be having integer value , in a custom function in map I am using the integer subtract function. But when my source xml have null value in field , subtract function does not do anything. Please suggest. 
Source profile is like this 

<actual_amount type="null"></actual_amount>

We can see there is no value for this element. Is there any way to replace it with 0?

Outcomes