11-04-2010 09:27 AM
I am trying to execute smart tasks using the SDK.
My code looks like
foreach (ScheduledWorkflow wfd in ActApp.Workflow.Definitions)
wfd.RunWorkflow(new Dictionary<string, object>());
also had tried wfd.TriggerWorkflow(new Dictionary<string, object>());
but when i load act and check the task list, the tasks shows with a "cancelled" status.
Had tried to execute it inside a windows app that creates the act app, and also inside a windows service just to be sure to give the engine enough time to complete.