-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Public Group Label #1
Comments
Hey Jodie, Did you manage to get this working? I followed the steps however, what was the guide referring to when it wants the RecordID that is required? what recordId does it want, I have tried the Public Group ID and the lead record type Id but are getting hit with PB erros. |
Are you referring to the first value you enter - there are two values to enter to run the Apex from a Process Builder. The Record ID and the Public Group Label. The Record ID should be a Field Reference to the ID of the record you are calling the PB from. So if the Process Builder is on Lead then in the Set Apex Variables for Record ID the Type should be Field Reference and the Value should be [Lead].Id - but you use the lookup to find the ID of the record you are calling the Apex from. Send me a screen shot of where you are lost if that doesn't help. |
Great Stuff Jodie. Worked like a charm, i was struggling to figure out which ID! But yes [Lead].Id worked perfectly! |
This warms my heart. |
Also, be careful how long your public group developer name is. I got an unhandled apex exception because the developer name of my public group was too long. The package concatenates the public group developer name with the object developer name in order to store a custom setting tied to the transaction. So if your object has a long name and your public group has a long name, you may get an apex exception. |
just to clarify...the record ID needed is the record type id? of do you just put recordID>Field Reference>[Opportunity].Id |
Just a note for anyone using this.
Firstly, even though this is marketed as a FLOW solution, use it in Process Builder as it says in the Readme here.
Secondly, use the Label of the Public Group, not the Group Name when you pass in the value into the group name parameter.
Otherwise you will get a List Index Out of Bounds error.
The text was updated successfully, but these errors were encountered: