You need to sign in to do that
Don't have an account?
Kunal Purohit 4
How to Update the value of Field at time of insert/update operation.?
Hello All,
There is a custom metadata with four fields AreaCode,ZipCode,State and TimeZone. Whenever these field values are inserted/updated, TimeZone value need to be update. How to achieve this fucntionality through configuration or Lightning Flows?
Please suggest.
There is a custom metadata with four fields AreaCode,ZipCode,State and TimeZone. Whenever these field values are inserted/updated, TimeZone value need to be update. How to achieve this fucntionality through configuration or Lightning Flows?
Please suggest.
It is not possible to create/update cmdt using triggers and in the same way its not possible through flows also. Refer the below idea.
https://ideas.salesforce.com/s/idea/a0B8W00000Gdaj5UAB/apex-trigger-on-custom-meta-data-types
In your scenario, you need to use custom object instead of cmdt.
If this helps, Please mark it as best answer.
Thanks!!
All Answers
It is not possible to create/update cmdt using triggers and in the same way its not possible through flows also. Refer the below idea.
https://ideas.salesforce.com/s/idea/a0B8W00000Gdaj5UAB/apex-trigger-on-custom-meta-data-types
In your scenario, you need to use custom object instead of cmdt.
If this helps, Please mark it as best answer.
Thanks!!