We want to ensure that our technicians are only able to enter their debrief time on work orders that they have been dispatched to, in specific, if any ServiceMax Events or Open Activities exist on the work order and are associated to the user, then they will be able to dispatch. If none exist, the technician will be locked out of dispatching.
How is the problem being addressed today, if at all?
The problem is not addressed as it stands today, our technicians are able to enter debrief on any work order whether they are dispatched or not.
Product Area?
Communities Mobile Field Service Management Scheduling & Dispatch Work Order Management
We have seen the following scenario which we think is a result of offline work:
Assign WO to Technician A
Technician A syncs and downloads WO
Re-assign WO to Technician B
Technician B syncs, downloads, debriefs and closes WO
Technician A later updates WO and debriefs
We would like to see Technician A's updates discarded since they are no longer the Technician on the WO. The sync conflict rule may also be a factor in how this is currently working.
For the initial post from @timothy_mcdouga , it is now possible to leverage JS Snippets to perform validation and prevent the tech from entering time entries for the Work Orders that are not dispatched (doesn't have an appointment / Event). This can work even when the tech is fully offline.
@jmsilveira - We are aware of this use-case. Do you mind creating a new idea for this one please and we can continue our conversation there?Thanks!
can you please provide some information about how to leverage JS Snippets to perform your mentioned action? We have the same problen with our technicians.
We now have exposed Javascript APIs that can be leveraged to access information on the SFM or local database. Using this, you can query for the required information and write custom logic to validate a user's action. These snippets can be configured on different page events, will work even when tech is offline and are supported on FSA and Go app.
In this case, you could write a snippet that can prevent the user from adding his debrief details or saving his debrief details his debrief if the WO is not dispatched to him (meaning he has no event linked to the WO).
To help you start exploring the possibilities, I recommend you look at these documents.