Getting error: Unable to load WorkFlow module

123
0
01-03-2022 05:47 AM
Vineeth_Nair
New Contributor

I want to delete the WorkFlow Manager jobs from standalone application. I created a CoreHost app with below code :

// Connect to the workflow connection. The workflow connection provides connection status information and
// allows interaction with the Workflow Manager system through managers.
WorkflowConnection connection = await WorkflowModule.ConnectAsync();

// Access configuration and job information
var configMgr = connection.GetManager<ArcGIS.Desktop.Workflow.Models.ConfigurationManager>();
var jobType = configMgr.GetVisibleJobTypes().FirstOrDefault();

JobsManager jobsMgr = connection.GetManager<JobsManager>();

When I run the code it throws and error saying "unable to load workflow module"

Vineeth_Nair_0-1641217593825.png

 

0 Kudos
0 Replies