
Announcements
I have a context variable set to a record, this record gets patched to a table, i want to update this same variable with the record returned by the patch. If this patch errors out, will my variable be preserved or is it set to an error or empty value?
UpdateContext(
{
scr_selectedDocument: Patch(
'Credential Licensure Agreements',
scr_selectedDocument,
{doc_status: "Rejected"}
)
}
);
It will be blank.
You can check errors with the Errors function against your datasource then.
I hope this is helpful for you.