AnsweredAssumed Answered

Reference dynamic document property within user-defined map function

Question asked by jfriedma565649 on Oct 5, 2016
Latest reply on Oct 6, 2016 by Srinivas Chandrakanth Vangari

Objective: I'm creating a map function that will first retrieve a dynamic document property set in the parent process, which will then be used in a script to determine if a specific field should be mapped or not based on an if/else statement.


I've set the dynamic doc prop in the main process prior to branching and it should be available in the sub-process, which I verified it is being passed into.


I am then mapping a field from a flat file to an input as the actual result and have another input as the false result which I am not mapping so it should be treated as an empty string or null (based on my understanding).


My goal here is that I need to determine whether or not this flat file field gets mapped to the target profile or not based on the value of the document property.


When I try to run the process, the document property is returning as NULL.