Getting error: Unable to load WorkFlow module

01-03-2022 05:47 AM
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"



0 Kudos
0 Replies