sharepoint - Sharepoit c# how to update 'Approval workflow' programatically -
i need update 'approval workflow' status programmaticaly in picture. please me or orient me solution.
already tried below code:
hashtable ht = new hashtable(); ht["formdata"] = spworkflowstatus.completed; ht[spbuiltinfieldid.completed] = "true"; ht[spbuiltinfieldid.percentcomplete] = 1.0f; ht["com"] = "test comments"; ht["reviewed"] = "yes"; ht["sendsignoffemail"] = "yes"; ht["taskstatus"] = "approved"; bool succed = spworkflowtask.altertask(t splistitem, ht, true);
attached image understand me better.
i prefer change task worklow workflow himself.
since worklow associated task. have change status of task in order instance of workflow approved.
Comments
Post a Comment