Compared to Geocortex Essentials Workflow
This documentation is for VertiGIS Studio Workflow, a standalone product in the new generation of VertiGIS Studio products. VertiGIS Studio Workflow addresses similar needs to the existing capabilities offered by Geocortex Essentials Workflow: the ability to easily automate custom business requirements by chaining together pre-built activities, without programming. However, there are significant differences between Workflow and Geocortex Essentials Workflow:
-
VertiGIS Studio Workflow is offered as a standalone product. You do not need any Geocortex products (like Geocortex Essentials) to use Workflow. If you have Geocortex Essentials, you can use Workflow with Essentials and its companion products, the HTML5 Viewer.
-
VertiGIS Studio Workflow is available as a service (SaaS), so there's nothing to install. Alternatively, you can install VertiGIS Studio Workflow on premises and use it with your native Portal for ArcGIS installation.
-
VertiGIS Studio Workflow is built on a JavaScript engine instead of a .NET engine. Workflow files are JSON files, not XAML files.
-
VertiGIS Studio Workflow workflows run in the end user's browser, instead of on the server. This eliminates the need for communications between the client and server, so you don't need to concern yourself with serialization or the volume of data being transferred back and forth.
-
Workflow workflows are capable of running when network connectivity is intermittent or absent.
-
In addition to running in Geocortex HTML5 viewers, Workflow workflows run in ArcGIS Web AppBuilder apps.
-
VertiGIS Studio Workflow supports both 2D and 3D maps and applications.
-
VertiGIS Studio Workflow supports apps with multiple maps.
-
VertiGIS Studio Workflow integrates with ArcGIS Online and Portal for ArcGIS. You need an ArcGIS account to save and share workflows. You can open a workflow item in ArcGIS directly from VertiGIS Studio Workflow Designer.
-
VertiGIS Studio Workflow has fewer programming concepts, like arguments, variables, and scope, so there is less specialized knowledge required to design workflows:
-
Variables: VertiGIS Studio Workflow does not have variables. However, any activity with an ID implicitly acts like a variable by providing access to its values through its outputs. If you need to store a value that is not produced by a specific activity, use the Create Value activity or the Evaluate Expression activity.
-
Arguments: VertiGIS Studio Workflow does not have an Arguments area where you define a workflow's inputs and outputs, like Geocortex Essentials Workflow does. In Workflow, you use the Get Workflow Inputs and Set Workflow Output activities to get the inputs and set the output. To get inputs for a workflow that runs in the Geocortex Viewer for HTML5, configure the inputs in the command parameter. In Web AppBuilder, specify the inputs when you configure the workflow in the widget.
-
Expressions: Because VertiGIS Studio Workflow is built on JavaScript, expressions in Workflow are JavaScript expressions. See Expressions.
-
Events: VertiGIS Studio Workflow does not have run-time modifications for forms and you cannot use expressions in form elements. Instead, you can add events to form elements. Each event that you add is a workflow within the main workflow—a subworkflow. You build an event the same way you build the main workflow, by dragging activities from the Toolbox to the design surface and connecting the activities into a flowchart. This gives you the full power of VertiGIS Studio Workflow within an event subworkflow, so you can perform run-time modifications and more.
Events are associated with form elements. If you want the workflow to do something when a form element loads, use the
load
event. If you want the workflow to do something when the user changes the element, use theclick
orchange
event. If you want to validate the user's input, use thevalidate
event. -
Scope: For the most part, everything in a workflow is globally available, however, there is an exception: The outputs of activities within an event subworkflow are not directly available outside the event subworkflow. However, you can pass values out of an event.
-
Tips for Transitioning to VertiGIS Studio Workflow
If you have used Geocortex Essentials Workflow, you will notice many changes when you start using VertiGIS Studio Workflow. Here are some tips to help you make the transition:
-
Create Feature Sets, Graphics, and Geometries: In Geocortex Essentials Workflow, you could use expressions to create feature sets, graphics, and geometries. In VertiGIS Studio Workflow, you cannot use expressions to create these objects. Instead, you will use activities to create feature sets, graphics, and geometries.
-
Get Geometries from the User: VertiGIS Studio Workflow does not have a Display Capture Geometry activity. Instead, Workflow has a form element, Geometry Picker, that allows you to get geometries from the user and display them on a map.
-
Get Map Information: VertiGIS Studio Workflow does not have a Get Map Info activity. Instead, you will use the Get Map and Get Map Extent activities. To get map service information, use the Get Layer and Get Layer Property activities.
-
Populate Auto Complete Boxes and Drop-Down Lists: To populate auto complete boxes and drop-down lists (combo boxes) with values, you can either define the selections manually in the workflow configuration, or, more commonly, create a subworkflow that dynamically gets the values. Workflow Designer gives you the choice of creating the subworkflow from scratch or using an ArcGIS Query template. The template has the activities that you need to perform the query—you simply need to configure the activity inputs, such as the URL of the layer to query and the WHERE clause to use.
-
Add Hyperlinks to Forms: Instead of a Hyperlink form element, VertiGIS Studio Workflow allows you to define hyperlinks in settings that support formatting. If you want to add a hyperlink without any other text, you can add a Text element to the form. For more information, see Format Text in a Form.
-
Pass Values Out of an Event Subworkflow: You can use Create Value or Evaluate Expression activities to pass values out of an event subworkflow. Put one Create Value (or Evaluate Expression) activity outside the event's Display Form activity and another Create Value activity inside the event. Use the inside activity to assign the values to the outside activity. For example, set the
expression
input of the Create Value activity in the event to=$outside.result = $inside.result
. -
Use Loops: VertiGIS Studio Workflow has a Loop activity that you can use to perform While and Do While loops, and a For Each activity.
-
Access Server Resources: VertiGIS Studio Workflow is designed to run primarily in the end user's browser. To access server-side resources, you create a server workflow and run it from a client workflow using the Run Workflow activity. Server workflows allow you to do tasks that you cannot do on the client, like querying databases, managing files on the server, and sending email.
-
Create Offline-Capable Workflows: If you want a workflow to be able to run when network connectivity is intermittent or absent, use VertiGIS Studio Mobile as the host application and make sure the activities in the workflow are capable of running when the device has intermittent connectivity to the network. For more information, see Connectivity Requirements for Activities.
Some Workflow activities have the same name and function as Geocortex Essentials Workflow activities, but differ in subtle ways. It is worth reading the documentation for an activity before using it for the first time. To open the documentation for an activity, hover the pointer over the activity in the Toolbox and click the More... hyperlink.