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})
User | Count |
---|---|
258 | |
111 | |
95 | |
48 | |
41 |