| Methods / Process Definition Methods | |
Web Services
This method is used to manage process definition versioning by setting the process definition status to CheckedOut based on a given process definition ID. Only process definitions with the status of Released can transition into the CheckedOut status.
public virtual string CheckoutProcDef(string processTemplateID)
| Name | Description |
|---|---|
processTemplateID |
|
The process definition, in XML format, that has been checked out.
IWFWorkflowService svc = GetWorkflowService();
try
{
string processTemplateID = … // process definition to be checked out
stringprocessDefinitionXML =
svc.CheckoutProcDef(processTemplateID);
}
catch (Exception ex)
{
Console.WriteLine("Failed! " + ShUtil.GetSoapMessage( ex ) );
}
3.2.0.4 or higher