Select to view content in your preferred language

Error Message when Opening a Custom Tool through Workflow Manager

97
1
Tuesday
Gfreitag
Emerging Contributor

Hello,

I'm having an issue with regards to interaction between Workflow Manager and a custom ArcGIS Pro SDK addin. I have a wizard that I want to open when I run a workflow step. This wizard is opened through a button in the UI. When I execute the ArcGIS Pro Mapping Step in my workflow with the Run ArcGIS Pro Command option toggled, and provide the id of the button linked to the wizard, the step correctly runs and opens the wizard. The problem is, it also adds a "step failed" flag to the job, even on successfully opening the wizard. This causes issues because a user could be confused and think the step had not properly completed.

Gfreitag_0-1767740898471.png

I've already referenced and implemented suggestions from these threads (here and here ), and they don't seem to help with this particular issue, although they did help with getting the wizard to open. Is there some setting in Workflow Manager I'm missing, some other method I should be extending in Module, or anything else I could try to resolve the issue? Insight as to why Workflow Manager could flag a step to fail would also help.

Thanks in advance for any help.

Tags (3)
0 Kudos
1 Reply
LLam
by Esri Contributor
Esri Contributor

Hi @Gfreitag ,

Do you have any mapping items configured to open in the step other than the Pro command? This sounds similar to an issue we fixed in Pro 3.5 where "Step Failed" is shown with the error "Unable to open all items" when the step is configured with no mapping items to open.

Is it possible to upgrade to Pro 3.5? If not, you will need to configure the step to open one other mapping item (map, scene, layout, task).

Please let us know if you have any other questions.

Thank you.

 

 

0 Kudos