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.
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.
If the "Positions" background turns green, you are doing it right...
...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.
You can change the label or default value of the parameter in the window that opens afterwards.
The new entry in the "Connectors" column shows which entries are now connected.
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.
You can validate your workflow with the purple "Validate" button on the left.
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.
Congratulations, you have created and configured your first workflow!
Click the "Visualize"-Button to see parts and connectors of your workflow.
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".
Add the XSLT webservice...
...and the Publish webservice.
Click the "Visualize"-Button to see parts and connectors of your workflow.
Continue with How to configure and run jobs.