Open N00b133711 opened 3 years ago
Hi @N00b133711, sorry for the slow reply. Can you tell me more about your use case where users are accessing the flow through the Salesforce mobile app? That wasn't an intended audience and I'm not totally surprised that some parts don't work on it.
@fromsteinsfdc We have a main flow which creates a ServiceAppointment for us with all related records such as the WorkOrder etc. After the creation, we start a subflow to schedule the ServiceAppointment. And it is precisely the scheduling that does not work in the app, slots are never offered. If I start the whole thing in the debugger with the same service appointment, it works and slots are displayed. The app shows that no slots have been found.
We would like to use this so that our technicians on site at the customer can book a follow-up appointment directly. We direct our technicians from the Field Service App to the Salesforce1 App via a deep link and the new appointment is then created there via a flow. The only thing missing now is the last step so that the appointment is scheduled.
@N00b133711 unfortunately I'm not a Field Service expert, I really can't speak to the nuances of what's different on mobile. I've shared this with some of my FS experts internally and will let them respond if they have anything to add. I think in general they'd recommend keeping this in the FS mobile app, but I/they'd need to know more specifics.
The getSlots method does not work in the Salesforce1 app. The apex action works without problems on the PC in the Chrome browser and available appointment slots are displayed. Mobiel I always get the message "No Slots"
I use the same user and the same data on both devices. Is this known and is there perhaps a solution already? @fromsteinsfdc