Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

[Add-in API] Invoking a workflow programmatically

$
0
0

Topic by Salvatore

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

Viewing all articles
Browse latest Browse all 2504

Trending Articles