public deleteCollateral(workflowDefinitionId: string, leafFileName: string)
Deletes the URL of a workflow definition's collateral file.
Parameters
workflowDefinitionId: string
The guid identifier of the workflow definition.
leafFileName: string
public deleteDefinition(definitionId: string)
Deletes a workflow definition.
Parameters
definitionId: string
The guid identifier of the workflow definition.
public deprecateDefinition(definitionId: string)
Marks a workflow definition as deprecated. Currently running workflow instances are allowed to complete, but new instances of the workflow definition are prevented from starting.
public isObjectPropertyInstantiated(propertyName: string): boolean
Parameters
propertyName: string
Returns
boolean
public isPropertyAvailable(propertyName: string): boolean
Parameters
propertyName: string
Returns
boolean
public packageDefinition(definitionId: any, packageDefaultFilename: any, packageTitle: any, packageDescription: any): StringResult
Packages a single workflow definition into a SharePoint solution package (.wsp file) and saves the package to the Site Assets library.
Returns the URL of the package file in the Site Asset library.
Remarks:
This method does not activate the package.
If a package with the same name already exists in the Site Assets library, the method adds an integer suffix in braces to the file name, e.g. packageDefaultFilename{2}.wsp
Parameters
definitionId: any
The guid identifier of the workflow definition.
packageDefaultFilename: any
The default filename to choose for the new package.