Beispiel #1
0
 protected void btnApprove_ServerClick(object sender, EventArgs e)
 {
     ApprovalWF.ApprovalServiceClient cli = new ApprovalWF.ApprovalServiceClient();
     cli.sendApprovalResponse(new ApprovalWF.WFIdentification()
     {
         ActivityID = ActionID, WFID = WFID
     }, true, txtNotes.InnerText);
 }
Beispiel #2
0
        protected void btnReject_ServerClick(object sender, EventArgs e)
        {
            if (txtNotes.InnerText.Trim() == "")
            {
                message.Text = "Message cannot be empty";
            }

            ApprovalWF.ApprovalServiceClient cli = new ApprovalWF.ApprovalServiceClient();
            cli.sendApprovalResponse(new ApprovalWF.WFIdentification()
            {
                ActivityID = ActionID, WFID = WFID
            }, false, txtNotes.InnerText);
        }