Skip to content

Instantly share code, notes, and snippets.

@pavanmanideep
Created April 22, 2023 10:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pavanmanideep/56e3028bcfade8925b82fa80335a5726 to your computer and use it in GitHub Desktop.
Save pavanmanideep/56e3028bcfade8925b82fa80335a5726 to your computer and use it in GitHub Desktop.
If(IsBlank(RejectReasondrp.Selected) Or IsBlank(txtRemarks.Value),Set(varmsg,"Fill both the values")&&Set(varmsgpopup, true),
Patch(Cases,LookUp(Cases,Case=GUID(CaseId.Text)),{Comments:txtRemarks.Value,'Rejection Reason':RejectReasondrp.Selected.Value}));
If(!IsBlank(RejectReasondrp.Selected) && !IsBlank(txtRemarks.Value),Set(varShowpopup,true),"");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment