The Pulse is Magnolia's message hub. Users communicate with each other and the system using the Pulse. Messages in the Pulse provide users with relevant runtime information about the system.
Pulse user interface
The Pulse has two tabs:
- Tasks are typically related to a publishing workflow. Tasks have a status and an assignee. Users can go to the Pulse to see who owns a task and perform actions on it.
- Messages are system and app messages. Messages are displayed in the app where they currently work. They are persisted for reading later in the Pulse.
Messages are displayed to the user in apps using banners. Unlike alerts and notifications, messages are persisted in the repository and can be read later in the Pulse. The system stores a separate copy of the message for each user in the
There are three types of messages:
- Info: Informs the user about a change in situation.
Warning: Warns the user that the system has detected a condition that requires their attention.
- Error: Reports severe problems that have occurred, typically system errors.
In the Messages tab:
- New messages are marked with a tick in the New column and the new message count displays in a badge .
- Open a message by double-clicking it.
- Group messages by checking the Group by type box in All Messages.
- Filter messages by going to the Info tab which shows only info messages or Problems tab which shows warnings and errors.
- Sort messages by clicking the column title.
- Delete messages using the Delete action. Delete multiple messages by checking their boxes first.
Here's are the banners the user sees in the app they are working in.
- Error: Displays at the top of the screen beneath the trinity icons.
- Warning: Displays at the bottom on the screen.
- Info: Displays at the bottom of the screen.
Tasks make collaboration better. They have a clear status and an assignee. Users can go to the Pulse to see who owns a task and perform actions on it. Magnolia uses human tasks in the publishing workflow. When an editor publishes a page, the system creates an approval task and sends it to the publishers group. Under the hood we use the jBPM workflow engine's user task feature. See also Custom tasks and User tasks in Magnolia workflow documentation.
Unlike messages, tasks are not persisted for each user. Tasks are a single persisted entry shared by different users and groups, so all can see the same task and its state.
Tasks have five states:
- New: New tasks waiting to be assigned to a user..
- Assigned: Tasks assigned to a user.
- Resolved: Tasks that have been resolved successfully.
- Failed: Tasks that were approved but did not run successfully.
- Scheduled: Tasks scheduled for later publication.
Example: tasks in the publishing workflow
This is how workflow tasks work in the
Travel demo. See Default roles, groups and users for more about permissions assigned to each user.
- Eric, a content editor, publishes a page. The task is sent to the publisher group. All members of the group can see the task. Peter, a content publisher, or any other member of the group, can assign the task to themselves.
- The task moves from the New to the Assigned tab. Other publishers, for example superuser, can see the task, who it is assigned to, and re-assign it to themselves.
- When Peter opens the task, a number of actions are available:
- If publication is approved and succeeds, the task moves to the Resolved tab. If it is approved, but fails for technical reasons for example, it moves to the Failed tab, where it can be retried.