You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Query on Route event - routeUpdated.

Accepted answer
112
Views
4
Comments
edited Jun 9, 2023 12:59PM in Field Service 4 comments

Hi Team,

We have a scenario where a non-working time is assigned to a Resource in OFSC, an integration should be triggered to take the change back to Source system.

From the documentation we could find that the Route Event - 'routeUpdated' occurs when a resource's working calendar is changed. We created a subscription using this event.

The following is the payload used:-

{

"subscriptionConfig":[

    {

        "events" : ["routeUpdated"],

        "routeChanges" : [

                "date",

                "resourceId",

                "calendarTimeFrom",

                "calendarTimeTo"

            ]

    }

]

}

However this is not working. Can somebody help us understand if this the event we should be using for this scenario. Also if some sample payloads can be provided that would be really helpful.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!