Skip to content

Actions

An action is something an entity can deliberately do, such as checking in, handing over an item, approving a request, or visiting a place. Each action says who may do it, what it can be aimed at, and what happens.

To add one, open the template’s Definitions and tap New next to Actions. Type the Name first, because the sentence below uses it.

Under Who and what, the action reads as one sentence, such as “Anyone may use Check in on 1 target, aimed at anyone.” Tap a highlighted part of the sentence to change it.

Tap the first part (Anyone to begin with) to answer “Who may use Check in?” Leave it as anyone for no restriction, or build a condition about the performer, such as “the performer is a Visitor”, “the performer holds Verified” or “the performer has a link of a relationship”.

Only entities that have the action can do it anyway (see Giving the action to entities), so anyone is often enough.

Number of targets and what may be targeted

Section titled “Number of targets and what may be targeted”

The number is how many entities the action is aimed at. Tap it and choose 0, 1, 2 or 3, or type another number under Or type a number. It starts at 1, and can be up to 32. Choose 0 for an action that isn’t aimed at anything, such as “Clock in”. The sentence then ends “with no target”, and its effects are aimed at whoever performs it.

Tap the last part to answer “Who can Check in be aimed at?” It’s a condition about each one that could be a target, such as “each one is a Checkpoint”.

Add the effects: what happens when the action is done. They run in order, top to bottom. An action with no effects still appears in the timeline, but changes nothing.

If any effect fails, all of the action’s effects are undone and the action fails.

An action does nothing until an entity can do it. Open an entity template, and in its Actions card tap the action under Tap to assign. Then choose how it is performed:

  • Directly: entities of this kind can do it themselves.
  • Via a relationship: entities linked to this kind through the relationship you choose can do it. For example, give “Unlock” to a “Key” via the relationship “carries”, and whoever carries the key can unlock. Under Which end the actor stands at, choose Outgoing if the person doing it is the start of the link, or Incoming if they’re the end.

Then tap Assign.

A trait can also grant an action while an entity has the trait.

An action that no entity template has and no trait grants can’t be published.

In a running scenario, an action happens when:

  • someone scans a touchpoint and taps Execute on it, or
  • an effect performs it, with Perform an action, for example from a trigger.

Either way, the rules about who may act and what can be targeted still apply. To have someone confirm before an action goes ahead, use a trigger with a decision.

On a draft, open it and tap Delete action. It’s also taken off every entity template that has it. Anything else that still uses it is flagged when you publish.