SP.WorkflowServices.WorkflowDeploymentService.validateActivity Method (sp.workflowservices)

Validates the specified activity against workflow definitions in the workflow store.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.WorkflowServices.WorkflowDeploymentService.validateActivity(activityXaml)

Return value

Returns a null reference if validation is successful; otherwise returns the error message encountered during validation.

Parameters

  • activityXaml
    The activity to validate.