cancel
Showing results for 
Search instead for 
Did you mean: 
dgullo
Nintex Newbie

Register List Workflow programatically

Hi all,

I need to register a List Workflow programatically with an Event Receiver. Is there any possibilites to do this?

best regards and thanks

0 Kudos
Reply
1 Reply
Not applicable

Re: Register List Workflow programatically

If you're asking how to deploy a list workflow by using a SharePoint feature with an event receiver, the Nintex Workflow 2013 SDK has a sample, DeployWorkflowWithFeature​, that demonstrates how to use the FeatureActivated and FeatureDeactivated events to publish and delete, respectively, a workflow. The FeatureActivated event invokes the PublishFromNWF service operation to publish a list workflow from an export file, and the FeatureDeactivated event invokes the DeleteWorkflow service operation to delete the list workflow.

0 Kudos
Reply