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
trueorfalse. 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.

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.
| Task | Element Type | Notes |
|---|---|---|
| Set From | Fields | Updates a field with the value from another field. |
| Set To | Fields | Updates a field to display a default or initial value. |
| Combined | Fields | See Display Tasks |
| Clear Selection | Fields | For batch-enabled data grids. Clears the selection made by the user. |
| Template | Fields | For setting a field to a value in an embedded template. |
| Enable, Disable | Buttons, Fields | For making buttons and fields available or unavailable depending on the state of the CE Studio app. |
| Clicks | Buttons | For generating an automatic button click. |
| Reset All Fields | App, Components | Resets all fields with all the components in the app or within a single component. |
| Enable Timer, Disable Timer | App, Components, Elements (Fields) | For use with Timers |
| Show, Hide | Components (not overlays), Tabs, Buttons, Fields | See display task expand |
| Expand, Collapse | Components | See display task expand |
| Toggle Component | Overlays | Overlay Components only |
| Active | Tabs | See Display Task Active. |
| Goto Step | Stepper | Specifically used with stepper components to go to the current step. |
| Prompt | App | For toast messages. See display task prompt. |
| Refresh Window | App | To refresh the browser tab. |
| Navigate | iFrame components | See display task navigate. |
| Reset Control | File upload and data grids | To reset or clear the upload of files and data grids. |