message Scenario Placeholder for Activity end time when it crosses midnight.
Summary:
We use message scenarios to interface data over from Field service to Service Cloud. Currently when an activity is completed in field service a message is triggered to send over the activity start time and end time.
Currently we use the following placeholders:-
"StartTime": "{route_date} {activity_start_time}",
"EndTime": "{route_date} {activity_end_time}",
However when the activity is ended post midnight the value sent has the time correct but the date as the prior day.
The values sent by the message when the activity was ended on 2024-01-25 00:43 was as follows:-
"StartTime": "2024-01-24 08:35",
"EndTime": "2024-01-24 00:43",
Tagged:
1