Skip to main content

Step 3 — Persona

For the full editor reference, see the Persona Editor.

Its Place in Our Scenario

We have two kinds of users:

PersonaRole(s) it carries
MakerUserMaker
CheckerUserChecker
info

A persona usually carries one role, but can carry several when needed (e.g. a supervisor persona carrying both Maker and Checker). In that case maker-checker self-approval is enforced separately at the action level.

Step by Step

1. Add New → New Persona

From + Add New, click New Persona. Name the model — usually personas.

Create New Persona dialog

Confirm with CREATE → the empty Persona Editor opens.

2. Add the first persona (MakerUser)

In the list view, press ADD NEW → the persona detail page opens. It has these sections:

SectionWhat to enter
Persona NameThe unique persona name (MakerUser)
DashboardThe dashboards this persona should see (optional — left empty here)
RolesThe role(s) this persona carries

For MakerUser:

  1. Type MakerUser into Persona Name.
  2. Under Roles, press ADD NEW.
  3. From the Select dropdown, choose the Maker role.
info

The dropdown lists all roles created in Step 2. To assign several roles, press ADD NEW again for each one.

MakerUser detail — Maker role assigned

  1. Press DONE to return to the list.

3. Add the second persona (CheckerUser)

Repeat the same steps:

  1. Press ADD NEW again → an empty detail page opens.
  2. Persona Name = CheckerUser.
  3. Roles → ADD NEW → choose Checker.

CheckerUser detail — Checker role assigned

  1. DONE → back to the list.

4. Save

Click the disk icon in the toolbar, enter a short summary, and confirm with SAVE CHANGES.

Persona list — saved

The persona model is only a definition; binding it to a real user happens elsewhere:

  • In your user management system (a user database or identity provider), each user has a stored personaRefId field.
  • This field says which persona they have (e.g. MakerUser or CheckerUser).
  • At login, the system reads personaRefId, resolves the persona, and passes all of its roles' permissions to the user.

For the runtime integration here — how the user obtains the persona via the getUser workflow function — see Runtime Persona Resolution.

Good to Know

  • The persona–role relationship is one-way: the persona references the role; the role does not know the persona. The same role can be reused across personas.
  • The Dashboard field points to dashboards shown in the UI. Left empty here as the scenario is workflow-focused.
  • Renaming a persona breaks the personaRefId values in user records. Update the user records before renaming in production.
  • A persona with multiple roles: if a user can be both maker and checker, add two roles to the persona. Self-approval prevention is then done separately at the action level.

So Far in Our Scenario

DoneStep
✅ 3 privileges (submit_record, approve_record, view_record)1
✅ 2 roles (Maker, Checker)2
✅ 2 personas (MakerUser, CheckerUser)3

The "who → does what" line is now complete:

User → Persona → Role → Privilege
? MakerUser Maker submit_record + view_record
? CheckerUser Checker approve_record + view_record

We have not yet said which real user is bound to which persona — that happens on the runtime side.

Next Step

Now we move to the workflow side: with the Swimlane we decide which role(s) may pick up a task in the workflow.