This article will walk you through creating a new workflow activity for web applications.
Download and set up the Geocortex Workflow TypeScript SDK.
Create an Activity
- Open up a terminal shell in the SDK folder.
- Run the command
npm run activityand name the activity
This script creates a custom activity skeleton that you can build on with your own custom logic.
Deploy the Activity
Test the Activity
Once your activity pack is hosted and registered, your custom activity should appear in the activity toolbox in Geocortex Workflow Designer alongside the built-in activities, and can be used in the graphical interface like any other activity.
Now you can build a workflow that uses your new custom activity!
Calculate a Logarithm with a Custom Activity
Implement a custom activity that calculates the logarithm of a number
Implement a Custom Form Element
Implement a custom form element for applications like Geocortex Web
Add a Layer to the Map with a Custom Activity
Access application properties like the map in custom activities for Web Applications
Use the ArcGIS API for TypeScript in an activity or form element