Generic WGI Call Actions

Generic WGI Call actions allow external programs of a particular format to be called from a workflow, using the Workflow Gateway Interface (WGI). When a Generic WGI Call action is added to a workflow, it has a single action property which refers to the executable to be called. To register a WGI program for use with LiveCompare, it should be copied to the following directory on the LiveCompare server.

<LiveCompare install dir>\web\binn\WGI

Action Property Description

Executable

A String parameter or dataset which stores the name of the program to be called. A program from the chosen WGI package may be selected from a drop-down list.

Package A String parameter or dataset which stores the name of the WGI package containing the program to be called. This property should be set first. The available WGI packages are displayed in a drop down list.

Generic WGI Call actions require the use of the Define Action Parameters Wizard to define the program’s inputs and output parameters. Input parameters for a Generic WGI Call action are passed to the external program; output parameters for a Generic WGI Call action are populated by the results returned from the external program.

A WGI executable should be written as a console application which takes two arguments. The first is an XML file which stores the action’s input parameters; the second is an XML file which corresponds to the action’s output parameters. When the Generic WGI Call action is run, these files are generated by LiveCompare and passed to the external program. The external program should be written to populate the output XML, which is returned to the action’s output parameters in LiveCompare.

Example:

Generic WGI Call action example.