jongpie / CustomMetadataSaver

Allows saving changes to custom metadata records via Apex and Flow
MIT License
39 stars 5 forks source link

Error Occured in Flow #11

Closed MattHoldgate closed 3 years ago

MattHoldgate commented 3 years ago

Hi

When creating metadata records I am receiving an error "The number of results does not match the number of interviews that were executed in a single bulk execution request." I think it is possibly when the flow is getting fired twice. Is there something I need to do to resolve this?

Thanks Matt

Screenshot 2021-07-14 at 11 28 09
jongpie commented 3 years ago

Hi @MattHoldgate - thanks for reporting this! I've made a small pull request to solve this issue, PR #12. I'll merge it later today!

jongpie commented 3 years ago

@MattHoldgate, I've merged that bugfix to the main branch - if you redeploy the repo to your org, it should now work for you. Let me know if you run into any other issues!

MattHoldgate commented 3 years ago

Thanks, @jongpie that's brilliant. Works first time!