- Print
- DarkLight
Dialog Events
Actions in Comflow pinpoint the Dialog Event, which is the instruction to Comflow how the workflow dialog shall be run. This document explains the different Dialog Events.
The selection box of Dialog events give you a list of all available events with a name/short description and the instruction code, which is what you find in the source XML of the workflow.
Do Transition (doDefault)
This event instructs the workflow to do a transition in the workflow to another activity. This is the default value.
Do Refresh of a Portlet (doRefresh)
This event instructs the workflow to retrieve the data again via refreshing the data instance and show the screen again with the new data.
Do Previous Activity (doPrevious)
This event instructs the workflow to go back to the previous Activity. If the actual previous activity is not stacked, like via setting that property in the workflow, the flow will continue to the activity before.
Do Named Previous Activity (doNamedPrevious)
This event instructs the workflow to go back to the specifically named previous Activity. You also have to specify the actual activity in the workflow.
Do Select of Record (doSelect)
This event is aimed to retrieve the data for a specific row in a list and return back in a Lookup (prompt) scenario.
Do Close of Workflow (doClose)
This event ends the dialog. If it is a sametime dialog, only the sametime dialog is closed.
Do Text (doText)
TBW
Do Lookup (doPrompt)
This event instructs the workflow to start a lookup flow, where data can be selected from list portlet, via a transition.
Do Same - No refresh (DoSame)
This event instructs the workflow to just show the same portlet again with the same data.
If you just want to change to another mode for the same detail, like change it from _model_update to _model_delete, showing exactly the same data, you use this dialog event.
Do Fetch (doFetch)
This event instructs the workflow to retrieve new data from the data instance, but not process it, and show the same portlet again.
If you just want to change to another mode for the same detail, like change it from _model_update to _model_delete, but you have changed the data in the data instance, you use this dialog event.