I have a checkbox. Which OnChecked I want to patch the update to the Tasks table.
NB this is an activity task in the dataverse/dynamics.
The below doesn't work. It throws the error: "Invalid argument type. Expecting a
OptionSetValue value, but different schema."
Patch(Tasks,ThisItem,{'Status Reason':'Activity Status (Tasks)'.Completed})
These are the columns provided:
I have also tried 'Activity Status (Activities)' with the same results.
Any ideas what is going on here?
Solved! Go to Solution.
I needed to update both the statecode and the statuscode at the same time
Patch(Tasks,ThisItem,{statuscode:'Status Reason (Tasks)'.Completed,statecode:'Activity Status (Tasks)'.Completed})
I needed to update both the statecode and the statuscode at the same time
Patch(Tasks,ThisItem,{statuscode:'Status Reason (Tasks)'.Completed,statecode:'Activity Status (Tasks)'.Completed})
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
190 | |
54 | |
42 | |
37 | |
32 |
User | Count |
---|---|
252 | |
75 | |
71 | |
69 | |
68 |