I have an "IS_ACTIVE" element on an XML. I need to set to either "Y" or "N" based on a value from the parent process. I am storing this value as a dynamic document property. I need to create a user defined function to basically say if the value is X or Y then set "IS_ACTIVE" to "Y". If not, then set it to "N"
Is my logic correct in thinking I should be able to do this in a map function using the properties and custom scripting?
If so, can you provide an example of how this could be accomplished?