SP.WorkflowServices.WorkflowDeploymentService.saveCollateral Method (sp.workflowservices)
Saves the collateral file of a workflow definition.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.WorkflowServices.WorkflowDeploymentService.saveCollateral(workflowDefinitionId, leafFileName, fileContent)
Return value
None.
Parameters
workflowDefinitionId
The guid identifier of the workflow definition.leafFileName
The leaf name of the collateral file.fileContent
The contents of the collateral file as a stream object.