How to configure workflows - DM2E/dm2e-gui GitHub Wiki

Create or open a workflow

Create a new or open an empty workflow (see How to create and edit workflows if you need help). A workflow consists of several Webservices that you can see on the right side.

Empty workflow

Workflow configuration: XSLT -> Publish

In the first example, we create a XSLT workflow.

XSLT Webservice

Therefore, we need the XSLT Webservice. Drag the XSLT Webservice from the right side and drop it into the "Positions" column.

Workflow Configuration

Workflow Configuration

If the "Positions" background turns green, you are doing it right...

Workflow Configuration

...and OmNom gives you detailed feedback.

Input parameters of the XSLT Webservice

Drag the input parameters that you would like to configure into the "Input Params" column. In our example, we add the required xmlInput first.

Workflow Configuration

You can change the label or default value of the parameter in the window that opens afterwards.

Workflow Configuration

The new entry in the "Connectors" column shows which entries are now connected.

Workflow Configuration

Continue to connect the other parameters of the XSLT Webservice as well.

Publish Webservice

The next thing we need is a "Publish" Webservice. Drop it into the "Positions" column. Connect the xmlOutput with the Input parameters of the "Publish" Webservice.

Workflow Configuration

You can validate your workflow with the purple "Validate" button on the left.

Workflow Configuration

If your workflow is invalid, OmNom returns a notification with a detailed validation report.

In this example case, an invalid workflow was created. To be precise: an empty workflow without any Webservices and parameters was created. Empty workflows are always invalid.

Workflow Configuration

Congratulations, you have created and configured your first workflow!

Click the "Visualize"-Button to see parts and connectors of your workflow.

Workflow Configuration

Workflow configuration: Zip-Iterator -> XSLT -> Publish

If you want to map more than one XML file, you can create a ZIP-bundle of XML-files and proceed them with OmNom as well. In that case, you have to create another workflow.

This time, we need the Zip-Iterator webservice. Drag and drop it into the "Positions" column. Add the required "Archive" parameter to "Input Params".

Workflow Configuration

Add the XSLT webservice...

Workflow Configuration

...and the Publish webservice.

Workflow Configuration

Click the "Visualize"-Button to see parts and connectors of your workflow.

Workflow Configuration

Continue with How to configure and run jobs.