function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BobPBobP 

Self-Scheduling Flow Getting FSL.Exceptions.GeneralException: Error

I have created a custom flow and used the subflow but I am getting the flowing error (Error element Get_Slots (FlowActionCall).
An Apex error occurred: FSL.Exceptions.GeneralException: Script-thrown exception)
When i view the debug log it appears everything is working, so i'm not sure what i am doing wrong. I am using the flow scheduler from this site below. https://unofficialsf.com/flow-scheduler-enable-self-service-scheduling-for-field-service/  


User-added image
Here is how I have the subflow setup
User-added image
Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

This flow does not seem to have Get_Slots element. I hope we have this in subflow. Can you try set debug logs for the flow and check where excatly it is causing the issue.

https://metillium.com/2021/04/log-flow-messages-to-debug-logs/

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,
jesszi12 joejesszi12 joe
Great Post! Thank you for visiting here. https://nextgen-patientportal.com/
BobPBobP
Hi Sai

I'm not seeing the debug log action in my debug log
User-added image
User-added image
BobPBobP
I still need help on this please
Brian Quesenberry 16Brian Quesenberry 16
Hey Bob - I am running into the same error.  It seems to be permission based as I only hit it when logged in as a Customer Community Plus User.  It works fine for me if running as System Admin.  Did you ever get to the bottom of it?
Brian Quesenberry 16Brian Quesenberry 16
For us, this issue was resolved.  We were using Extended Match and the user did not have Field Level Access to the relationship fields on the child side of that Custom Object.