HOME COMMUNITY BLOG
Skip to end of metadata
Go to start of metadata

This UI action will execute a predefined sequential workflow.

 

ATTRIBUTES

ActionType

ActionTypeDescription
OpenFormOpens a new UI for the the workflow. It's used when the workflow is going to have at least one UI step.
WorkflowRuns a workflow without starting any GUI. It's possible to merge a return context store back into the screen.

 

RefreshAfterReturn (applicable only if ActionType = OpenForm)

RefreshAfterReturnDescription
NoneReload nothing after the workflow screen/modal dialog is closed.
ReloadActualRecordReload the current master record of the screen (with all the details). Intended to use only with lazily loaded screens.
RefreshCompleteFormReload all the data of the screen.
MergeModalDialogChangesApplicable only if IsModalDialog = true. It merges the data from the last modal dialog screen back into the screen where the modal dialog was run from.

 

RefreshAfterWorkflow (applicable only if ActionType = Workflow)

RefreshAfterWorkflowDescription
RefreshChangedRecordsN/A (Intended for menu action only)
ReloadActualRecordReload the current master record of the screen (with all the details). Intended for use only with lazily loaded screens.
RefreshCompleteFormReload all the data of the screen.

 

CloseType (Applicable only if the UI Action is inside a modal dialog)

CloseTypeDescription
NoneThe action within a modal dialog doesn't close the modal dialog
CloseAndCommitThe action within a modal dialog closes the modal dialog and merges the changed data back (Parent UI action has to have RefreshAfterReturn set to MergeModalDialogChanges).
CloseAndCancelThe action within a modal dialog close the modal dialog.

 

MergeType (Applicable only for action type Workflow or OpenForm with IsModalDialog=true). The merge takes place when the workflow finishes. It takes a context store from workflow (marked as IsReturn=true) and merges into the data of original screen. It works similarly with ActionType=OpenForm and Modal dialog. In that case the data (context store) of the last UI step of the modal dialog workflow is merged into original screen. Lets you name the merge contextstores target (original screen) and incoming (output from workflow, modal dialog)

MergeTypeDescription
AppendMergeExistingKeep all current records of target  even though they are not present at incoming. Add all new records from incoming to target. Update all the existing target records according the values of incoming.
IgnoreSkip merge.
FullMergeModify target so that at the end it looks exactly like incoming.
DeleteMatchesDelete all records of target  where primary keys are present at incoming.

 

Mode (Specifies relation between the action and the data)

ModeDescription
ActiveRecordAction is related to active record. If there is no record, the action is not available. Active record can be used as an input for the workflow.
MultipleCheckboxes

Action is related to the selected records. If there are no records selected, the action is not available. Selected records can be used as an input for the workflow (passed as "." in parameter mappings).

AlwaysAction is not related to the records. Data context can be used as an output for the workflow but not as an input.
  • No labels