Getting error: Unable to load WorkFlow module

310
1
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
1 Reply
Dan2
by
New Contributor

Hello, 

I have recently started seeing this same error after migrating my code from the 2.9 to the 3.0 Pro SDK.  Were you every able to determine the cause of or fix this issue?  

0 Kudos