ActionOverwrites
Introduction
ActionOverwrites allow context-specific adjustments of an Action without modifying the base Action itself.
Typical use case: an Action is defined on a Trigger, but for a specific relatable entity (for example a task assignment), parts of the action config or targetables should differ.
Rich-text values that override type-specific config.text, config.body, or config.description keys use the shared Rich Text HTML format.
Overwritten System Variable-enabled text fields must contain valid rendered templates. An overwritten computed_targetables_system_variable uses key-only syntax.
Model Definition
Relations
relatable
(Polymorphic)
Morph To
relatable_type, relatable_id
users
User
Belongs To Many
Pivot user_action_overwrite
departments
Department
Belongs To Many
Pivot department_action_overwrite
Relatable Types
taskAssignment- Applies the overwrite to a TaskAssignment context.
Capabilities
Targetables - When
apply_targetablesistrue, overwrite targeting replaces the base action's recipients for the related context.
Create
Create a new ActionOverwrite.
Definition
POST /api/action-overwrites
Request Keys
relatable_id*
integer
-
ID of the context entity for this overwrite.
config*
object
-
Partial override config for the selected Action type.
apply_targetables
boolean
false
Whether overwrite targetables should be applied.
computed_targetable_type
string | null
null
Optional Computed Targetable Type; the supported subset depends on the base Action type.
user_ids
integer[]
[] (for assign mode none/all/...)
Explicit target users for the overwrite.
department_ids
integer[]
[] (for assign mode none/all/...)
Explicit target departments for the overwrite.
Keys with * are required.
Example Request
Example Response
Update
Update an existing ActionOverwrite.
Definition
PUT /api/action-overwrites/{actionOverwrite}
Route Parameters
actionOverwrite
integer
ActionOverwrite ID.
Request Keys
action_id
integer
-
New base Action ID.
relatable_id
integer
-
New context entity ID.
config
object
-
Updated partial override config.
apply_targetables
boolean
-
Updated flag to apply overwrite targetables.
assign_mode
string
current assign mode
Updated targeting strategy selected from the shared Assignment Modes.
computed_targetable_type
string | null
-
Updated Computed Targetable Type; the supported subset depends on the base Action type.
user_ids
integer[]
[] (for assign mode none/all/...)
Updated target users for the overwrite.
department_ids
integer[]
[] (for assign mode none/all/...)
Updated target departments for the overwrite.
Behavior
Only submitted keys are updated.
Example Request
Example Response
Delete
Delete an ActionOverwrite.
Definition
DELETE /api/action-overwrites/{actionOverwrite}
Route Parameters
actionOverwrite
integer
ActionOverwrite ID.
Example Request
Example Response
Last updated