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

Error deploying updates to existing metadata records via Flow #16

Open
luke-thorson opened this issue Sep 17, 2021 · 1 comment
Open
Labels
bug Something isn't working

Comments

@luke-thorson
Copy link

I'm attempting to deploy changes to an existing collection of metadata records in Flow using the invokable action. The update is to a single field that is a Custom Metadata Relationship type. I've tested passing the Id, DeveloperName, QualifiedAPIName, and MasterLabel of the record into the relationship field. All produce the same error.

Error element Update_Records (FlowActionCall).
An Apex error occurred: System.TypeException: Error deploying metadata of type CustomMetadata and fullName NAICS_Secondary_Code.Secondary_9211. Error message: Unsupported type 'Id' for field name 'value'

image

@jongpie
Copy link
Owner

jongpie commented Sep 28, 2021

@luke-thorson sorry for the late reply, and thanks for reporting this! It looks like I never implemented support for metadata relationship fields, so I'll have to make a few changes to support that field type (and any other field types I might have overlooked).

I unfortunately won't have a chance to work on this for at least a few weeks, but I'll get this addressed ASAP. Let me know if you encounter any other issues!

@jongpie jongpie added the bug Something isn't working label Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants