Select to view content in your preferred language

ArcGIS Workflow Manager not working with ArcGIS JavaScript Api 4.23

618
3
Jump to solution
07-03-2022 10:27 PM
SU00861536
Occasional Contributor

Hi, I want to customize ArcGIS Workflow Manager web app with ArcGIS JavaScript API 4.23 but its not working.  These tasks not available :

"esri/tasks/workflow/LOILayerTask",
"esri/tasks/workflow/ConfigurationTask",
"esri/tasks/workflow/JobTask",
"esri/tasks/workflow/ReportTask",
"esri/tasks/workflow/TokenTask",
"esri/tasks/workflow/WorkflowTask",

Now I want to know the process, how to use ArcGIS Workflow Manager Web App with our application developed on ArcGIS 4.23(lots of functionality developed on 4.23). 

As I checked ArcGIS workflow Manager JS only worked with 4.12.  @JFarmer 

Tags (1)
0 Kudos
2 Solutions

Accepted Solutions
JFarmer
Esri Contributor

@SU00861536 

Before I get to the answer here, I just want to make sure you are using the Workflow Manager Classic Javascript App? https://enterprise.arcgis.com/en/workflow-manager/latest/help/arcgis-workflow-manager-javascript-vie...

If so, then you will not be able to use ArcGIS Javascript API v. 4.23. Version 4.12 is the last supported version for the Workflow Manager Classic Javascript API. 

If, however, you are referring to the new services driven Workflow Manager and that web app. We currently do not have the Javascript API released but that will be coming out around the same time as the Enterprise 11.0 release and you can find that documentation here (once it releases): https://developers.arcgis.com/workflow-manager/.

If you are using Classic and haven't looked into the new services driven architecture, I highly recommend taking a look. The opportunities for customization there will be greater moving forward (if needed) than on Classic. https://enterprise.arcgis.com/en/workflow/

Let me know if you have further questions I can help out with.

Jonathan

View solution in original post

0 Kudos
JFarmer
Esri Contributor

@SU00861536 

OK, thanks for clarifying. I should note that Enterprise 11.0 and our JavaScript API for Workflow Manager Server are coming out very soon, like in the next few weeks. So you may decide to wait. But using the REST API is certainly an option as well.

Jonathan

View solution in original post

0 Kudos
3 Replies
JFarmer
Esri Contributor

@SU00861536 

Before I get to the answer here, I just want to make sure you are using the Workflow Manager Classic Javascript App? https://enterprise.arcgis.com/en/workflow-manager/latest/help/arcgis-workflow-manager-javascript-vie...

If so, then you will not be able to use ArcGIS Javascript API v. 4.23. Version 4.12 is the last supported version for the Workflow Manager Classic Javascript API. 

If, however, you are referring to the new services driven Workflow Manager and that web app. We currently do not have the Javascript API released but that will be coming out around the same time as the Enterprise 11.0 release and you can find that documentation here (once it releases): https://developers.arcgis.com/workflow-manager/.

If you are using Classic and haven't looked into the new services driven architecture, I highly recommend taking a look. The opportunities for customization there will be greater moving forward (if needed) than on Classic. https://enterprise.arcgis.com/en/workflow/

Let me know if you have further questions I can help out with.

Jonathan

0 Kudos
SU00861536
Occasional Contributor

Thanks for reply.

We are working on Workflow Manager Service Driven Architecture and trying to use in our existing web application developed on 4.23. As you mentioned that currently workflow manager service driven is not supported, so we will explore other options like WorkFlow Manager Rest API..

0 Kudos
JFarmer
Esri Contributor

@SU00861536 

OK, thanks for clarifying. I should note that Enterprise 11.0 and our JavaScript API for Workflow Manager Server are coming out very soon, like in the next few weeks. So you may decide to wait. But using the REST API is certainly an option as well.

Jonathan

0 Kudos