1. Actions
  2. Categories

Actions

Categories

Actions can be placed in conceptual categories to help understand their purpose

Overview

Actions can be placed into loose categories based on where they are defined and triggered from.
Some actions are defined in the adam template and triggered from the interface, like sending an email to a contact while on the stub.
Some actions are called by the system, like when an email is sent to a stub.

See also action triggering

Categories

Actions fall into the following action categories:

  1. Interface - These are actions that are called from the interface like sending an email to a contact while on the stub
  2. Stub - These are actions found on the stub itself, selectable by the user, the most common way actions get run
  3. Feedback - These are actions that are called by the system, like when an email is sent to a stub
  4. Lifecycle - These are actions that are called by the system, like when a stub is created

Interface Actions

These are actions built in the the stub interface.
Examples of interface actions are:

Stub Actions

These are the standard actions that are defined in the template and are available in the state that the stub is in.
stub choose action stub wantto action stub submit claim

Feedback Actions

These are actions that are called by the system, like when an email is sent to a stub.
Feedback actions are implemented by the Stubber Platform and are defined in the adam template.
Feedback actions are implemented in each task or notification that is called by the system.

Examples

_update_from_email
Called when an email is sent to the stub feedback update from email

_update_from_whatsapp
Called when a whatsapp is sent to the stub feedback update from whatsapp

_update_from_chat_assistant_task
Called when a chat assistant task has run on the stub feedback update from chat assistant task

Lifecycle Actions

These are actions that are called an important lifecycle points in the stub, such as the creation of stub.

Action Description
_create Called when a stub is created