Linking to contenttype submit clik to workflow in sharepoint 2010 and sharepoint2013
ht [" cabTaskStat us "] = "Rejected"; ht ["Status"] = "Rejected"; ht [" cabTaskSubS tatus "] = "Rejected"; SPWorkflowTask. AlterTask ( Curre ntListItem , ht , true);