What does this PR do?
<!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. -->
- Write the assignment reason from form routing or Salesforce routing to a field in Salesforce
https://www.loom.com/share/e1433e5847b6492d8e954ff1932f5b5d
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
<!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration. Write details that help to start the tests -->
-
Enable Salesforce on an event type and write to a field with the text value being {assignmentReason}
-
Create a booking via Salesforce routing. The value should be written to the specified field
-
Create a booking via form routing. The value should be written to the specified field
<!-- This is an auto-generated description by cubic. -->
Summary by cubic
Added support for writing the latest assignment reason to Salesforce when syncing booking data.
- New Features
- Fetches the most recent assignment reason for a booking and includes it in the Salesforce event payload.
<!-- End of auto-generated description by cubic. -->