Trigger Workflow from the Historian Server
- Last UpdatedJun 10, 2024
- 2 minute read
You can trigger the Workflow from System Platform based on an action in the Historian Server.
Prerequisites
-
ArchestrA should be installed.
-
Gateway object should be imported.
-
AppEngine process owner should have Registry read permissions and file read-write permissions.
Historian
-
Creating Historian Event tag
You can create a new Historian event tag or use an existing Historian event tag for triggering System Platform workflow. For creating the Historian event tag, see the Historian documentation available in Start > Programs > Wonderware Historian folder.
-
System Platform IDE: Importing Script Function Library
Import the script library (Historian.EventScript.dll) from <A2 Install Path>\Workflow\ScriptLibrary

-
Creating Gateway object: Create a new instance. Right-click $WorkflowGateway, point to New, and select Instance. An instance with name WorkflowGateway_001 is created.

-
Assign this instance to the proper AppEngine and area.
-
Next, configure the Gateway object, as described in Initial Gateway Setup.
-
Next, you can create an instance of the app object from a template, such as the SQL Data template.


