We need to create a workflow that should get started when a page is created and every time that page gets modified. We are using a dialog to edit the content of the page. The workflow should start when a moderator clicks ok in the dialog so the administrator can aprove the modifications made.
How can we start the workflow when the moderator clicks ok in the dialog?
Can we use a Dialog Participant Step in the workflow to open the dialog ( this dialog is placed inside a component ) ?
Do we have to use any ecma scripts and where should we use them ?
(We followed http://dev.day.com/docs/en/cq/current/workflows/create-models.html#par_reference this tutorial.) Where can we find more tutorials on workflows?
To start workflow whenever a particular page is modified you can create a launcher to trigger your worklow on "Modified" event.
For creating a dilaog participant step you can find more info here :