Skip to main content

Is there something on app exchange or something built in for a portal / flow for non-users to sign up to be volunteers and then sign up for shifts on NPC volunteer with person accounts?  So far, I couldn't find anything so I just started building from scratch.  I added the shifts and positions etc., then I created a flow for initial volunteer sign up, then I created a flow for orientation, then I created a flow for Shift Sign-Up.  It took A LOT of work, but I was able to create experience cloud pages for each, create the guest user profile, add permissions to the guest user profile, create a public group to add the staff that work with volunteers, and then I realized you cannot update records with a guest user profile, only create records.  So then I had to create a custom object to create a record with all of the orientation information, change the flow to create those records instead of updating the person account records, and then create a new separate flow to push the data from the custom object into the account object.  I also had issues creating automated emails but I was able to get that figured out by creating templates instead of using the email body within the flow which did not work.  MY PROBLEM IS:  Now that I did all that work, I cannot get the flow that I created to sign up for shifts to work with the experience cloud on an incognito browser with the guest user profile.  I keep getting this error: 

 

  

An Error Occurred with Your "Volunteer Shift Sign-Up" Flow

 

 

You’ve received this email because an error occurred while your "Volunteer Shift Sign-Up" flow was running.

Debug this flow in Flow Builder.

 

 

Error element Get_Open_Shifts (FlowRecordLookup). 

This error occurred when the flow tried to look up records: SELECT Id, Status FROM JobPositionShift WHERE ((Status ^ ERROR at Row:1:Column:24 sObject type 'JobPositionShift' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.. You can look up ExceptionCode values in the

SOAP API Developer Guide

 

 

 

Here is the current sign-up flow: 

 

Volunteer Portal for Nonprofit Cloud

 

 

Please advise.  It seems like all this work should already be done, or there should be a package I can get or something.  If not, maybe I should build a package once I get this done so others don't have to deal with this!  If someone wanted to help me do it and get it published I would give it away for free.  I just don't understand why there isn't a simple way for potential volunteers to sign up to be volunteers, and then sign up for shifts without having to be paid users.  Thank you!  

 

@Nonprofit Hub @Agentforce Nonprofit (Nonprofit Cloud) @AI for Nonprofits @Flow for Nonprofit Admins @Lizzy Roberts

7 réponses
  1. 9 juin, 08:23

    The error is telling you exactly what's wrong: `JobPositionShift` is not accessible to the Guest User profile. This is a known limitation with NPC objects and guest user context in Experience Cloud. 

     

    Guest users can't query `JobPositionShift` directly via Flow record lookup. You have two options: 

     

    Option A  Run the flow in system context 

    In Flow Builder, go to the flow's Start element → set "How to Run the Flow" to System Context with Sharing (not User or Guest context). This lets the flow query NPC objects the guest user doesn't have direct access to. This is the quickest fix. 

     

    Option B  Use an Apex-invocable action 

    Create a small Apex class that queries `JobPositionShift` and invoke it from the flow. More work, but gives you finer control. 

     

    Option A is almost certainly your path forward here — try that first before touching anything else. 

     

    One other thing to double-check: make sure the Guest User profile has Read access to any custom objects your flow touches, even when running in system context. The flow context handles the NPC objects, but your custom orientation object still needs explicit guest permissions. 

     

    Hope that unblocks you!

0/9000