Hi @Chad Barbour@Matt Genoa@Nathan Beck @Dustin Breese, could you please review the following and suggest? Thanks.
Question:
How to invoke apex from visual flow which can be used in FSL Mobile app (as an app extension)?
Note that, the flow invokes the apex class correctly from the Browser but not from FSL Mobile app (iOS).
It throws the error - “Error uploading. Irresolvable failure. Invalid Action Type: ServiceChecklistPDFGenerator"
(ServiceChecklistPDFGenerator is a class with @InvocableMethod, this class creates a pdf doc and attach under WO)
Background:
We need to create a survey/checklist that technicians will submit from the FSL mobile app (iOS). That checklist should get stored under WO.
We did following config so far and working as expected.
- FSL App extension - which refers a visual flow of type “Field Service Mobile”.
- That flow asks several questions and stores them into ServiceChecklist and its line records. ServiceChecklist record is attached under WO.
I am not sure about this, sorry. I haven't been involved with the Field Service app for a few years. Let's start with @Steve Thistle to see if he has an update on things or more information? I thought I heard that some changes were coming for the mobile Flow engine, but I am not sure at all about what they are.
For the most part, extensibility outside of flows is moving to Lightning Web Components on mobile. See https://developer.salesforce.com/docs/atlas.en-us.mobile_offline.meta/mobile_offline/intro.htm for more information.
Deep linking to Salesforce App is described here and is achieved by formulating a specifcally-formatted URL: https://help.salesforce.com/s/articleView?language=en_US&id=sf.salesforce_app_universal_links.htm&type=5
Field Service deep-linking is described here: https://developer.salesforce.com/docs/atlas.en-us.field_service_dev.meta/field_service_dev/fsl_dev_mobile_deep_linking.htm
