0

I built a flow to create a contract on an opportunity record. Then I put a button inside the opportunity page layout that launchs the flow. Now Our Partner community users can see the button , but when they use it an error occurs. How Can I make the flow available for partner community users? Thank you for help me

Sorry now below you find the stamp of the error page: enter image description here

when I try to assign the permission "RUN FLOW" to user with Partner Community License, the system throws the error "The user license doesn't allow the permission: Run Flows"

I did what Robin said, but the error is still the same. I created the vf page, embedded the flow interview and setted the security of the vf page.

  • What's the error ? Without adding error message it won't help anybody here to get you out of trouble – Mohith Shrivastava Sep 13 '16 at 13:46
  • I'd expect them to need the flow user permission. Without it, they likely won't be able to run it. But as @MohithShrivastava asked, we need to know what the error message is to advise you. – crmprogdev Sep 13 '16 at 13:50
  • Sorry I edit the post with the image of the error – L.benedettini Sep 13 '16 at 13:59
  • Is the community Active or still in Preview? – Dave Humm Mar 16 '17 at 9:15
1

The Force.com Flow User feature license is not available for user with a Partner Community license. There is however a way to make it work for them as well:

  1. Embed the flow in a visualforce page
  2. As content source for your custom button, choose that visualforce page
  3. Make sure you have made the visualforce page accessible for the profile you have given to your partner community user
  • This also works for Customer Community users. – Dave Humm Sep 13 '16 at 14:43
  • I did what Robin said, but the error is still the same. I created the vf page, embedded the flow interview and setted the security of the vf page. – L.benedettini Sep 13 '16 at 15:22
  • My guess is your finishLocation is not working correctly. Try putting <flow:interview name="Your_Flow" finishLocation="{!$Site.Prefix}/{!Opportunity.Id}"> in your visualforce page. – Robin De Bondt Sep 14 '16 at 6:45
0

To complete what Robin said, do not forget to set your flow as active. Go to your flow's detail page, and click "Activate" next to the version you prefer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.