Showing results for 
Search instead for 
Do you mean 

Smart tasks are cancelled.

Tuned Listener
Posts: 11
Country: Guatemala

Smart tasks are cancelled.



I am trying to execute smart tasks using the SDK.


My code looks like




foreach (ScheduledWorkflow wfd in ActApp.Workflow.Definitions)


    if (wfd.IsAutoRun)


                         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.


Please help.