Ask Search:
Victoria SliwaVictoria Sliwa 

Trailhead: Community Roll out Strategy - Create Sharing Rules Assessment Issue

I completed the Community Rollout Strategy - Create Sharing Rules Challange as described in Trailhead:
1. Set OWD for cases to private
2. Create Edna Frank and associate cases with her account
3. Set up Communitites
4. Make Edna Frank a customer community user
5. Create a sharing set "Share cases with customers" where User:Account = Case:Account

However, after attempting the above I've been getting a strange error that reads "Challenge Not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing:
System.QueryException: List has no rows for assignment to SObject"

Has anyone else been experiencing this problem? Any known solutions?
 
Best Answer chosen by Victoria Sliwa
Mayank SrivastavaMayank Srivastava
Hey Victoria, it is most likely an org issue. Did you try in a completely new Dev org? That has fixed a lot of problems for me in the past. Also, you sharing set should be configured like this:

User-added image


User-added image

(Right click and open in new tab to view a bigger image).
 

All Answers

Mayank SrivastavaMayank Srivastava
Hey Victoria, it is most likely an org issue. Did you try in a completely new Dev org? That has fixed a lot of problems for me in the past. Also, you sharing set should be configured like this:

User-added image


User-added image

(Right click and open in new tab to view a bigger image).
 
This was selected as the best answer
Victoria SliwaVictoria Sliwa
Hi Mayank,

My sharing settings are indeed configured as you pictured above - I will have to try this in a new developer org.

Thank you,

Victoria
Victoria SliwaVictoria Sliwa
Looks like using a new developer org fixed the issue - though I'm still curious about what may have caused the error initially.
Mayank SrivastavaMayank Srivastava
Yep, no idea here either. Quite possible that there is an existing customization (like Apex or an Appexchange app) that was interfering with the challenge. If you used the problematic dev org for too long, some interfering customizations might have been introduced. Just a wild guess.
Keith StephensKeith Stephens
Hi,
I think I have everything correct on this except error: says that my user does not have role setup. I added Community User role to hierarchy but still not able to finish challenge. And when I go to assign does not give me option to assign Edna Frank or Customer Community User. 
Keith StephensKeith Stephens
Another issue I am having is when I add Edna Frank as a Customer Community User when I save it says:
An account owner must be associated with a role to enable portal users or transfer portal users to his or her account. 
 
Barbara AlbersBarbara Albers
in a DE org, you as an administrator, is the owner of the account that is associated with Edna.  You need to go to the user setup and make sure the administrator (you) has a role assigned to yourself.
Keith StephensKeith Stephens
Thanks for follow up on this. attached is screenshot. is that correct? Now when I go to finish challenge it says:
The Sharing Set is not setup with proper Case access. Please check the requirements. I have default for internal and external for case set to private. User-added imageUser-added image
Keith StephensKeith Stephens
I have everything for the sharing set share cases with customers except Customer Community User Profile is not available?User-added image
Barbara AlbersBarbara Albers
I just finished this module.  What I did was make sure my user settings had a role of say CEO.  Edna has a profile of Customer Community User.  Your External OWD setting for Case looks fine.  The error you are getting is regarding the Sharing Set.  Make sure your settings are as illustrated in the images below.
User-added image
Configure Access (Mapping) will probably say SetUp and the Access Determined By and Access Level will be blank if you have not done this set up step yet.  However, if you already tried to do the setup mapping , just click edit and enter settings as illustrated below
User-added image
Keith StephensKeith Stephens
Everything seems right and I changed my role to CEO but still don't have Customer Community User as an option in available profiles? Will keep trying.  
Barbara AlbersBarbara Albers
When I set up Edna as a community user, I changed her User License to Customer Community and then the profile of Customer Community User appeared as a profile choice for her.  I saved and was able to see that profile when I did the Sharing Set settings.  If this does not work, some suggested that creating a brand new DE org might help.
Keith StephensKeith Stephens
At beginning of this I created a second Edna Frank, I think because I thought the user needed a role and that was not an option for the gene point Edna Frank. Maybe that is what is tripping me up? Still not sure why Customer Community User is not an available profile in sharing set? Anyway going to start over with a new Dev org and see if I can get through it.
This is the last module I need to complete for Expand Your Reach with Communities Trail, want to complete it!
Will post an update later. Thanks
tunde jolaosotunde jolaoso
Hi,

Dont forget to Ensure that the account associated with Edna Frank (Contact) has cases associated with it.
圭 瓜生圭 瓜生
I encountered same trouble.
It seems non English environment is not expected by this challenge.
For me, change login users detail to
  Locale: English (United States)
  Language: English
fixed this problem.
Ken HolleyKen Holley
My user had no role, changes /added CEO, hey presto it works
Tejaram NidamanuruTejaram Nidamanuru
The Access Mapping for Case pop up is empty is my org. Is there something I need to do.?
Kevin ZhaoKevin Zhao
Hi everyone, 
When I edit Sharing Set, there is only User object available in the Select Objects. Any helps?
ユーザが追加した画像