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?