Skip to Content
Actions

Actions

An action is one step a trigger carries out when it fires: change a metric, add a row to a table, unlock a task, tell the team something, run an evaluation, end the run. A trigger’s actions form its Action Pipeline and run in order, top to bottom.

Adding actions

Open a trigger in the builder’s Triggers & Actions block and click Add Action under Action Pipeline. Each action is a numbered step: pick the action, then fill in its fields. The bin icon removes a step. Changing a step’s action clears its fields.

Some actions are offered only when a component they need is attached to the trigger’s node or a node above it:

ActionsOffered when this is attached
Create Row, Update Row, Delete RowA Data Resource
Show Resource, Hide Resource, Require ResourceA Resource
Run Rubric EvaluationA Rubric
Run AI EvaluationAn AI Evaluation
Release ResultsAn AI Evaluation or a Rubric
Update LeaderboardA Leaderboard (it sits on the simulation, so it is offered everywhere)
Approve Submission, Reject SubmissionA Submission Requirement

Every other action is always offered. A step saved with an action this node no longer offers keeps it, labelled (not available here), or (no longer offered) for a retired action.

Who an action applies to

Triggers fire for one team at a time (see Triggers), so an action changes the state of the team its trigger fired for: that team’s metrics, its copy of each data resource, its locks, its resources, its results. A trigger on an event that fires for every team, such as Round Started, runs its actions once for each team.

Three exceptions reach further:

  • Pause Simulation and End Simulation stop the whole run, for every team.
  • Update Leaderboard updates the standings every player sees.
  • Send Notification set to Facilitator Only reaches no player at all.

Dynamic values

Number fields marked as dynamic (New Value, Amount, Factor, Percent, and the column values of row actions) let you choose where the number comes from:

SourceWhat you setWhat the action uses
Static ValueA number.That number. Left empty, it counts as 0 (or 1 for a factor).
Metric RefA metric, and Current Value or Initial Value.The team’s current value of that metric, or the metric’s starting value.
Data Resource RefA Resource, a Row and a Column.That cell in the team’s own copy of the table, as a number. A cell that isn’t a number, or a row that isn’t there, counts as 0.

The engine reads a reference once, at the moment the action runs, for the team the trigger fired for. It sees what earlier actions in the same trigger changed. Formula metrics are recalculated after each action, so a Metric Ref to one reads its value as it stands after the earlier actions.

In row actions, each column has a Static / Dynamic switch. Dynamic opens the three sources above; the result is always a number.

Metric actions

ActionFieldsWhat it does
Set MetricMetric, New Value (dynamic)Sets the metric to the value.
Increase MetricMetric, Amount (dynamic), UnitAbsolute (default): adds the amount. Percent %: grows the value by that percentage of itself.
Decrease MetricMetric, Amount (dynamic), UnitAbsolute (default): subtracts the amount. Percent %: shrinks the value by that percentage of itself.
Multiply MetricMetric, Factor (dynamic)Multiplies the value by the factor.
Apply % ChangeMetric, Percent (dynamic), DirectionChanges the value by that percentage of itself, up (Increase, the default) or down (Decrease). It does the same as Increase or Decrease Metric with Percent %.
Reset MetricMetricSets the metric back to its starting value.

For example, with Gross Margin at 20: Increase by 5 Absolute gives 25; Increase by 5 Percent % gives 21; Multiply by 1.5 gives 30.

How they behave:

  • A Time-Based Metric with a Minimum Value or Maximum Value is kept within them after the change.
  • Every change raises a metric change for the team, which the metric events react to.
  • Players see the new value live.
  • Which metrics. The Metric list offers the Static and Time-Based Metrics attached to the trigger’s node, a node above it, or the simulation, and an action can change any of those. An action on a metric outside that reach is skipped, and the event log says why.

Formula Metrics are read-only. The Metric list of these actions doesn’t offer them. A step saved with one before shows it as (a formula metric can’t be changed) and does nothing. Change the metrics the formula is built from instead. A Formula Metric can still be read, as a Metric Ref.

Data Resource actions

Each team has its own copy of every data resource. Row actions change the copy of the team the trigger fired for. Players can’t edit rows themselves, so these actions are how a table changes during a run (apart from AI outputs).

ActionFieldsWhat it does
Create RowData Resource, Column ValuesAdds a row with the values you set.
Update RowData Resource, Row ID, Field UpdatesChanges the ticked columns of the row with that ID. Unticked columns keep their values.
Delete RowData Resource, Row IDRemoves the row with that ID.

Column Values and Field Updates list the table’s columns once you pick a data resource. Each value can be Static (text you type) or Dynamic (a number from a dynamic value).

Row IDs

  • Create Row. The id column takes the new row’s ID. Leave it empty and the engine makes one up, such as row-k3f9a2. If the team’s table already has a row with that ID, no row is added.
  • Update Row and Delete Row. Row ID must match a row’s ID exactly. Click the box to search the template’s rows (typed into the builder or imported from its CSV), or type any ID, such as one a Create Row action gives its rows. Rows created during the run aren’t in the list.
  • Update Row can’t change a row’s ID. An id in the updates is ignored.

Values and checks

  • Values are converted to the column’s type. For number, currency and percentage columns, currency symbols, commas, % and spaces are dropped (₹1,200 becomes 1200); an empty value becomes empty. Boolean columns take true (any capitals) as true and anything else as false. Array columns split text on |. JSON columns parse the text.
  • Create Row adds nothing if a column marked required is empty.
  • Update Row changes nothing if the row isn’t there, or if the change would empty a required column.
  • Delete Row removes nothing if no row has that ID, but it still raises Row Deleted.

Each successful change raises Row Created, Row Updated or Row Deleted for the team, and the Row Count events are checked.

ActionFieldWhat it does
Unlock RoundRoundOpens the round for the team.
Lock RoundRoundCloses the round for the team.
Unlock SubroundSubroundOpens the subround for the team.
Lock SubroundSubroundCloses the subround for the team.
Unlock TaskTaskOpens the task for the team.
Lock TaskTaskCloses the task for the team.

The lists show every round, subround (Round / Subround) and task (Round / Subround / Task) in the template, not only those near the trigger.

How locks work:

  • Per team. Unlocking a task for the team that passed a test leaves it locked for the others.
  • Locks cascade down. A locked round locks everything in it, and a locked subround locks its tasks. Unlocking a task inside a locked subround has no visible effect until the subround is unlocked too.
  • What players see. A locked item still shows its name, with a lock, but not its content or the components attached to it. The change reaches the team’s screens at once.
  • Starting state. Items marked as initially locked in the builder start locked. A subround that opens at a set time is unlocked when it opens.
  • Locking doesn’t move the run: it doesn’t change which round is in play or stop any clock.

Communication actions

ActionFieldsWhat players see
Send NotificationTitle, Message, Send ToA toast with the title and message, also kept in their notifications list.
Show PopupTitle, Message, StyleA dialog they close with Got it. Several popups queue up, with a Next button. Also kept in their notifications list.
Create Alert BannerAlert Message, SeverityA banner at the top of the page that stays until they dismiss it. Also kept in their notifications list.

Send To has three options:

OptionWho gets it
Team (Participants) (default)The players of the team the trigger fired for.
Facilitator OnlyNo players. It pops up on an open facilitator dashboard, naming the team, and is listed in its Trigger notifications card and event log.
EveryoneThe same as Team: the team the trigger fired for. Other teams never see it.

Facilitators see every team’s notifications, popups and alerts in the event log, whatever the target, and as they are sent in the dashboard’s Trigger notifications card.

Style for a popup is Info (default), Warning, Success or Error. Severity for an alert is Info (default), Warning or Critical. Notifications always show as Info.

Players see each message the moment the trigger sends it, and the bell’s unread count goes up at once.

Players also see the trigger’s name as “what triggered this” in their notifications list, so give triggers names that mean something to them.

Resource actions

ActionFieldWhat it does
Show ResourceResourceMakes the resource visible to the team, whatever its starting visibility.
Hide ResourceResourceHides it from the team.
Require ResourceResourceShows it and makes it required for the team: the tasks it applies to can’t be completed or handed in until someone on the team has opened it.

A required resource applies to the task it is attached to, or to every task under the round or subround it is attached to; on the simulation, to every task. While it is unopened, Mark complete, a submission, and moving the card to In Review or Done are refused with a message naming it. One teammate opening it is enough. A resource that is hidden, or has nothing to open yet, never holds a task back.

Changes reach the team’s screens at once.

Simulation control actions

ActionFieldsWhat it does
Pause SimulationNonePauses the whole run, for every team, as the facilitator’s Pause does. The clock and every timer stop until the facilitator resumes.
End SimulationReason (optional)Ends the whole run, for every team, as the facilitator’s End does.

How they behave:

  • They wait for the current step to finish. The run stops once everything the triggering event set off has run, for every team, not in the middle of it.
  • End Simulation first scores the tasks each team left in the current round’s Done column (firing Task Completed), runs the round’s end actions, and fires Round Completed and Simulation Completed. It works on a running or a paused run.
  • Pause Simulation only acts on a running run, and fires Simulation Paused.
  • End wins. If one step asks for both, the run ends.
  • One team is enough. Because triggers fire per team, the first team to meet the condition stops the run for everyone.
  • The event log records the trigger as the one that paused or ended the run. The Reason is stored with the action in the event log.
  • Players and the facilitator are told at once. No action resumes a run: the facilitator does.

Evaluation actions

ActionFieldWhat it does
Run Rubric EvaluationRubric ComponentRuns the rubric for the team now.
Run AI EvaluationEvaluation ComponentAsks the AI Evaluation to grade the team. The grading happens in the background.
Release ResultsEvaluation ComponentLets the team see a held AI Evaluation or Rubric result.

Run Rubric Evaluation

The rubric checks its rules against the team’s state at that moment and stores the result, replacing any earlier one. Its Rubric Passed or Rubric Failed and Specific Rule Passed events join the same chain straight away, so a trigger can react in the same step. Players see the result according to the rubric’s When to Show Results. See Rubric.

Run AI Evaluation

The AI model call can take a while, so it never runs inside the trigger:

  1. The request is saved with everything else the trigger did.
  2. The grading starts straight after, in the background, using the team’s state at that time.
  3. When the result comes back, it is stored for the team, any outputs the evaluation writes to metrics or rows are applied, and AI Eval Passed or AI Eval Failed and AI Eval Score Above fire as a new chain of steps.

Things to know:

  • Pick an AI Evaluation. The Evaluation Component list includes rubrics too, but picking a rubric here does nothing.
  • This is the only way an AI Evaluation grades during a run. Without a Run AI Evaluation action, it never produces a result.
  • Not when it’s switched off. An AI Evaluation with Component Enabled off isn’t run: the action is skipped, and the event log says why.
  • If the model can’t be reached, the evaluation scores 0 and fails.
  • Not from its own results. A Run AI Evaluation action in a trigger set off by an AI evaluation’s result is ignored, so evaluations can’t keep starting each other.

Release Results

Marks the team’s result for that component as released, so players see it whatever When to Show Results says, and fires Evaluation Results Released for the team. The Evaluation Component list shows AI Evaluations and Rubrics.

The team must already have a result. If it doesn’t, nothing happens. That matters for AI evaluations: Run AI Evaluation followed by Release Results in the same trigger releases nothing, because the grade isn’t back yet. Release from a trigger on AI Eval Passed or AI Eval Failed instead, or at a later point such as Round Completed.

Leaderboard action

ActionFieldsWhat it does
Update LeaderboardNonePlayers see the standings as they are now. They keep seeing these standings until the next update.

It only does something when the Leaderboard’s When players see it is Manual. On a Live board it does nothing. It updates the board for every team, once, after everything in the current step has run, so a round ending updates it with every team’s round counted. The facilitator can do the same from the dashboard. See Leaderboard.

Submission actions

ActionFieldsWhat it should do
Approve SubmissionFeedback (optional)Approve the team’s submission.
Reject SubmissionRejection ReasonReject the team’s submission with feedback.

These two actions have no visible effect at the moment. They don’t change the team’s submission, which stays submitted, and the feedback never reaches players. To give a team feedback on a hand-in, use Send Notification or Show Popup in a trigger on Submitted or on the evaluation’s result.

Retired actions

Three actions are no longer offered: Resume Simulation, Advance to Next Round and Advance to Next Subround. They never did anything. A trigger saved with one shows it as (no longer offered), and it still does nothing.

If you’re updating an older template, delete these steps:

  • To continue a paused run, the facilitator resumes it. A trigger can pause a run but not resume one.
  • Rounds move on when the facilitator moves to the next round or when a round’s time limit runs out. Subrounds open and close by their timings. See Rounds and Subrounds.

Limits and gotchas

  • Failed actions are quiet. An action that can’t be done does nothing, and players see no error. The event log lists it as skipped, with the reason, and the rest of the trigger still runs.
  • Metric actions reach the trigger’s own node and the nodes above it, and never Formula Metrics.
  • Everyone means the team. No action sends a message to other teams.
  • Release after the grade is back, not in the same trigger as Run AI Evaluation.
  • Update Leaderboard needs a Manual board.
  • Approve and Reject Submission do nothing visible yet.
  • Pause and End Simulation stop every team.
Last updated on