Skip to content

Using display tasks

Display tasks can run:

  • After an event is invoked, succeeds or fails. For example, an information message on success and an error message on failure.
  • After a rule in a rule set evaluates to true or false. For example, on success, a display tasks shows or expands a component and updates all the fields.
  • Before an action set is run (OnInvoke status) and all the subscribers have been notified. A display task attached to an action set will always run before the actions in that action set.

You can configure display tasks for components, fields, buttons and toast messages. A display task is completely self-contained and independent of the context in which it is run.

The display tasks that must run when a particular event occurs are grouped in a display task set. The first display task in the set runs first. To change the order in which they run, use drag and drop.

display_tasks

Figure: Example of how a display task set groups the display tasks for a component

Note: To create the display tasks for an event, click Create new display task set and name the set. To add the first task to the set, click Edit and then Add new task.

Task types

The following table summarizes the available types of display task, and how you apply them.

TaskElement TypeNotes
Set FromFieldsUpdates a field with the value from another field.
Set ToFieldsUpdates a field to display a default or initial value.
CombinedFieldsSee Display Tasks
Clear SelectionFieldsFor batch-enabled data grids. Clears the selection made by the user.
TemplateFieldsFor setting a field to a value in an embedded template.
Enable, DisableButtons, FieldsFor making buttons and fields available or unavailable depending on the state of the CE Studio app.
ClicksButtonsFor generating an automatic button click.
Reset All FieldsApp, ComponentsResets all fields with all the components in the app or within a single component.
Enable Timer, Disable TimerApp, Components, Elements (Fields)For use with Timers
Show, HideComponents (not overlays), Tabs, Buttons, FieldsSee display task expand
Expand, CollapseComponentsSee display task expand
Toggle ComponentOverlaysOverlay Components only
ActiveTabsSee Display Task Active.
Goto StepStepperSpecifically used with stepper components to go to the current step.
PromptAppFor toast messages. See display task prompt.
Refresh WindowAppTo refresh the browser tab.
NavigateiFrame componentsSee display task navigate.
Reset ControlFile upload and data gridsTo reset or clear the upload of files and data grids.