| Methods / Process Definition Methods | |
Web Services
Updates a process definition without using version control. This method is intended for minor changes only, such as typographical errors. Warning: Changes made using this method circumvent version control, meaning changes are not tracked, and versions cannot be managed. Do not use this call for making any major changes to the process definition.
public virtual string UpdateProcDef(string xml)
| Name | Type | Description |
|---|---|---|
xml |
|
Returns the unique identifier for the process definition that is updated.
// This is console application sample
IWFWorkflowService svc = GetWorkflowService();
string processDefinitionXML =..// see previous description of how to
get process definition XML
try
{
//Update Process definition using updated process xml string
string processDefinitionID = svc.UpdateProcDef(xml);
}
catch (Exception ex)
{
Console.WriteLine("Exception:" + ShUtil.GetSoapMessage(ex));
}
4.0.1 and higher