Datapolis Process System SDK

Search:

Contents
:
IndexBookmarkPrint
Home > WBInterface > Methods > LaunchWBAction

LaunchWBAction

 
Function returns WBResultInfo type, if you want to know all members of this class check Class Reference.

public void LauchWBAction(Guid instanceID, string actionName)
{
    try
    {
        WBInterfaceSoapClient client = CreateSoapClient();
 
        WBWorkflowInfo wbWorkflowInfo = client.GetWBWorkflowInfo(instanceID);
 
        WBActionInfo wbActionInfo = wbWorkflowInfo.WorkflowActions[actionName];
 
        WBResultInfo wbResultInfo = client.LaunchWBAction(instanceID, wbActionInfo);
    }
    catch
    {
    }
}