AnsweredAssumed Answered

Apply conditional mapping to prevent update of field if the document's field value doesn't meet criteria

Question asked by cnaughto529503 on Feb 17, 2017
Latest reply on Feb 17, 2017 by solomon_waters

I have a process that takes updates from a Salesforce record and sends them to an OpenAir record.


One of the fields included in the update (status) should only be updated if the value is "canceled". If it's not "canceled", all of the other fields should update except for the status field.


What's the best way to accomplish this? I know that I can add a DecisionShape that could send my document to two different map shapes that have different mappings (one that maps the status field, one that doesn't), but I'm wondering if there's a cleaner way to do this. Is there any way to do this with a single map shape, perhaps with a map function?


Or, perhaps this can be done another way that I'm not thinking about?