Skip to content
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

Value of Incorrect Type #2

Open
stuff99 opened this issue Mar 29, 2019 · 3 comments
Open

Value of Incorrect Type #2

stuff99 opened this issue Mar 29, 2019 · 3 comments

Comments

@stuff99
Copy link

stuff99 commented Mar 29, 2019

This is exactly the solution I am looking for, thank you all for the work to create this.

I am running into an error though. I use this on our CampaignMember object to populate a lookup field to the users object with an API name of BDR__c and label of BDR Assigned . The error his here:

An Apex error occurred: System.DmlException: Update failed. First exception on row 0 with id 00vQ0000005QthIIAS; first error: FIELD_INTEGRITY_EXCEPTION, BDR Assigned: id value of incorrect type: 00G36000002SLCREA4: [BDR__c]

Here are the values that I have defined: https://cl.ly/aca02a in the process builder. I have read through the help docs but can't see what I would need to do differently. It would appear that it is pulling the ID of the group rather than the individual but wonder if you have any insight on it. Thanks!

@stuff99
Copy link
Author

stuff99 commented Mar 29, 2019

Update on this, if the groups are defined explicitly (by defining by user) it works. If it is defined by role, it doesn't.

@mshanemc
Copy link
Owner

mshanemc commented Mar 30, 2019 via email

mshanemc added a commit that referenced this issue Apr 9, 2019
@cesarhb
Copy link

cesarhb commented Jul 13, 2019

@stuff99 thanks this was helpful - I ran into the same issue when I was assigning by Role into the Public Group. Changing to Users resolved the issue.

I do have a quick - unrelated question - are any of your users getting system generated lead assignment emails with this package?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants