Workflow Editor Graphical User Interface

The Workflow GUI is implemented as an Eclipse perspective, consisting of an editor area (for editing the tgwf workflow document or input/result objects) and the following views:

The following figure 4 shows the interface; more details on how to use the GUI will be explained below.

figure 4: The workflow perspective

Opening the Workflow GUI

The workflow perspective can be opened in different ways:

  1. By clicking on the “Workflow” link/icon on the welcome screen

  2. By selecting “Workflow” from the “Tools” menu

  3. B clicking the icon in the icon tray

  4. or, by right-clicking on one or more TextGridObjects in either the Research Results or the Navigator, and choosing “Add to Workflow” (see figure 5 below)

figure 5: Adding input documents to a workflow

The first three options will be more useful if a user wants to query the status of her workflows, or if she just wants to jump to this perspective, or reset it. If on the other hand the user wants to execute an existing workflow with some input objects, the fourth option should be chosen.

Workflow Preparation

This is the left-hand side view of the workflow perspective. It contains:

Once the workflow is started by the “Run...” button, it will be submitted to the GWES workflow engine and started there. It will be added to the Job Management view as “active”.

Job Management

All jobs owned by the current user will be displayed in this list. If you expect to see some jobs here, check to see if you are not logged in yet. Every job is listed by its name, its time of submission, and its status. The status of the job can be one of:

There are two buttons below the list: The “Refresh job list” button queries for the current status of the user's workflows at the workflow engine. The “See results” button has two meanings:

Workflow Results

This list is for the user's convenience. Instead of having to locate the resulting documents in the Navigator, or searching for them, all resulting TextGridObjects created as the output of the respective Workflow will be displayed here. It is possible to view, and edit these documents by right-clicking in this list and choosing an appropriate editor. Currently the user still has to select the workflow in the Job Management view and click “See results” first before they are displayed.

Writing a new Workflow from Scratch

A new TextGrid workflow is created similarly to any other TextGridObject: Choose “New Object...” from the File menu, then pick the project to save this workflow in, and select “TextGrid Workflow Document” as type of the new object. The next step is to enter the metadata of the workflow, which is not different compared to other TextGridObjects – however, it is better to accept the pre-set type “workflow” here in order to search more easily later on.

After clicking on “Finish”, the TextGrid XML Editor will be opened with a template of an incomplete workflow. Use either the “Design” or the “Source” view. The editor knows the tgwf schema behind the workflow and will assist you with typing in. You may want to adapt contents of already existing workflows to your needs. If you are unsure about editing the tgwf XML or the XSL stylesheet contained therein (the rules for creating the new metadata of the resulting objects), please feel free to ask for support from the TextGrid community.