Custom status sharepoint workflow integration


Badge +2
Hi all,


I know that it's possible to add custom state to a sharepoint workflow adding the follow declaration in workflow.xml:


<

MetaData>
<StatusPageUrl>_layouts/WrkStat.aspx</StatusPageUrl>
<ExtendedStatusColumnValues>
<StatusColumnValue>Approved</StatusColumnValue>
<StatusColumnValue>Draft</StatusColumnValue>
<StatusColumnValue>Reject</StatusColumnValue>
</ExtendedStatusColumnValues>
</MetaData>


When I want to set my desired status I use the follow code in my WF definition:


((Microsoft.SharePoint.WorkflowActions.SetState)sender).State = ((Int32)SPWorkflowStatus.Max) + 2;


Now my question is: is it possble reaching the same result in a sharepoint workflow integration? If yes, how? How can I reach these new status in my process definition?


Thanks for all support


0 replies

Be the first to reply!

Reply