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

Getting this error when trying to create a record #31

Open
steveb4949 opened this issue Jun 27, 2023 · 1 comment
Open

Getting this error when trying to create a record #31

steveb4949 opened this issue Jun 27, 2023 · 1 comment
Assignees

Comments

@steveb4949
Copy link

I am using the screen component to capture the users RecordType selection. When I create the Opportunity record, I am trying to assign the RecordType ID to the Opportunity record but am getting an error.

Error
This error occurred when the flow tried to create records: INVALID_CROSS_REFERENCE_KEY: Record Type ID: this ID value isn't valid for the user:

RecordTypeId = {!UserAwareRecordType.selectedRecordType.Id} (null)

RecordTypeIDError

@mselchow
Copy link

mselchow commented Aug 1, 2023

Seconding this issue -- doesn't seem to be returning the record type ID correctly.

EDIT -- upon further investigation, this seems tied only to the Radio Button selectors. recordTypePicker.js is looking for a data-id attribute, but this is not being set for the radio button configuration.

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

No branches or pull requests

3 participants