With the objective of extending this framework further, we plan to introduce "Snippets-Phase2" where you can update the data within the “context” of an SFM. This means, you can use your custom logic and update data that you get using the API $sfm_records. Note that data you update is not limited to the fields in the SFM page layout, which just means you do not have to change any page layouts of the SFMs to leverage this.
This capability could help boost productivity of technicians using the app by say pre-filling appropriate data without having the technician to do it. For instance, when a technician debriefs, the timestamps can be set automatically using custom logic. Towards, it also solves use cases outlined in these ideas
Update the “earliest start date” of a Work Order by picking the earliest timestamp on its Labor lines.
Update the “completion date” of a Work Order by picking timestamp on the last Labor line.
Update an existing travel line with the End Time when the technician arrives onsite.
Combine this with APIs to query information from offline database and get creative! …. and many more.
Snippets-Phase2 is planned to be made available in 19.2 FSA. ServiceMax Go app and web will follow. Do you have more use cases that snippets can solve for you? Please share them here!
Looking further ahead, we plan to extend this further to allow database manipulations in offline scenarios and this could happen outside the scope of the SFM itself. Do you have use cases for them? Love to hear!