You need to have a running DIET platform with a MA agent and the needed services registered - You can for example launch a single SeD that includes all the needed services (e.g., scalar_server if the workflow only performs operations on scalar). You can find details on how to develop a SeD in Chapter 5.
The directory src/examples/workflow includes several code examples of workflows. For example,
./generic_client local_client.cfg -dag scalar.xml
./generic_client local_client.cfg -wf func_string.xml data.xml