Configuration must be exported/imported with tracker XML format.
By default, all existing workflows are imported as advanced ones: <workflow>...</workflow>
Simple workflows have their own tag: <simple_workflow>...</simple_workflow>
The current workflow XML implementation deals with advanced mode. Nothing change for the XML content of this mode (this is the existing one). An error must be raised if non available post actions (for instance frozen fields) are set in this mode.
Workflows in simple mode deal with states. Each conditions and post actions are defined at each state level. Then each transitions defined in this state use these conditions and post actions.
In XML, the proposed strucure is: