You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Add-in API - Invoking a workflow programmatically

Received Response
8
Views
2
Comments
edited Nov 2, 2015 6:33PM in UI Extensibility 2 comments

Content

Hello,

can we invoke workflows programmatically through Console add-ins?

I created a workflow named "TestWorkflow", then I've tried to run it using TriggerNamedEvent but nothing happens (no exceptions/errors, no workflow is fired):

gc.AutomationContext.CurrentWorkspace.TriggerNamedEvent("TestWorkflow");

Thanks,

Salvatore

Version

November 2012

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!