Community
Showing results for 
Search instead for 
Do you mean 
Reply

Smart tasks are cancelled.

Tuned Listener
Posts: 10
Country: Guatemala

Smart tasks are cancelled.

Hello.

 

I am trying to execute smart tasks using the SDK.

 

My code looks like

 

ActApp.Workflow.StartEngine();

 

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.

 

Lester