How VertiGIS Studio Worflow expose restful API to third-party applications
We are transitioning Geocortex essentials to VertiGIS studio Web, as you know Geocortex workflows are exposed as REST endpoints, which allows third-party applications to interact with them, we have PPR application, When User register premise on Microsoft Dynamic CRM application , it will call Geocortex workflow restful end point for verify Ontario Parcel, in VertiGIS Studio Web, everything is delivered as a Web App or Portal/ArcGIS Online item, and out-of-the-box you don’t get that same “callable REST endpoint” model. does anyone can give us some hints to implement the same capability in vertiGIS world
-
One big difference between workflows in Essentials and VertiGIS Studio, is that the former in essence run on the server, while the latter usually start running in the context of a viewer (i.e. the browser), and only if you specifically wrote a server workflow, it will execute on the server.
Server workflows have a REST endpoint, and can therefore be called by external software. The documentation can be found here: https://<host>/vertigisstudio/workflow/service/specification
What you would need to do is get an access token first by supplying an ArcGIS token. You can then use that access token to run a workflow by calling the /job/run endpoint.
0 -
Stephen Yan If you have the ability to run python in your environment, you could consider this new script that we just published:
https://github.com/vertigis/vertigis-workflow-client-py
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
2 commentaires