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

Popular posts from this blog

c - Calling a function within a loop -

vb.net - Unbound DataGridView add row with checkbox error -

How i fill combobox items in Radgridview manually using in vb.net -