Hi Experts
I am getting below error while using Patch for one of our custom entity “Participant Health History”. Inside Patch I am just setting Lookup value for Participant attribute which is contact entity. Attached is error snapshot.
Patch('Participant Health Histories', Defaults('Participant Health Histories'), {Participant: LookUp(Participants, Contact=currentParticipant.contactid)})
Error - "The Role column in the data source you are updating expects a 'OptionSetValue' type and you are using a 'OptionSetValue' type"
This error comes only when app is opened in edit mode for first time. If cut/paste this formula and reload app, it works fine.
Any pointers will be appreciated.