The directory examples/workflow includes some examples of workflows. You can find a simple DAG workflow (see Figure 13.1) in the file xml/scalar.xml and you can test it with the following command, where local_client.cfg is the DIET configuration file (example provided in the etc/client_wf.cfg file).
./generic_client local_client.cfg -dag scalar.xml
You need to have a running DIET platform with the M agent and the needed services. You can launch a single SeD (scalar_server) that includes all the needed services. (read Chapter 5 for more details).
You can also find some examples of functional workflows written in the Gwendia language (see file xml/func_string.xml) and you can test it with the following command:
./generic_client local_client.cfg -wf func_string.xml data.xml
You need to have a running DIET platform with the needed services (the commands to launch the services are included as comments within the workflow XML).