Re: about the null values in the request message

Home Page Forums BizTalk 2004 – BizTalk 2010 about the null values in the request message Re: about the null values in the request message

#21114

So you want to check the fields for null in a map?  In that case, maybe you don’t need a decide shape.  The mapping approach could work.  You can use a string size functoid to get the length of the field you want to check for null.  Use a greater than functoid to determine whether the length is greater than 0.  Connect the greater than functoid to a value mapping functoid.  Now add another parameter to the value mapping functoid.  For the parameter, enter the constant value of “1” (true).  Connect the value mapping functoid to the boolean field in your destination schema.  Now a 1 will be mapped if the field in the source schema is not null.  To map a 0 if the field is null, add a logical not functoid connected to the greater than and another value mapping with a “0” parameter.  That is the approach that I would try.