Defines a flow triggered by changes to a custom object’s records.
import { defineRecordTriggeredFlow } from '@rippling/rippling-sdk';
Properties
| Property | Required | Type | Description |
|---|---|---|---|
apiName | Required | `${string}__c` | — |
description | Required | null | string | Internal description of this rule (for developer reference only). |
flowName | Required | string | Display name of this automation rule shown in the UI. |
triggerType | Required | TriggerType | When this rule fires. One of The constructor throws if an invalid value is passed. |
actions | Optional | readonly DefinedRuleAction<NoInfer<TObject>>[] | — |
conditionsTree | Optional | null | { [x: string]: JsonValue; } | — |
entityApiName | Optional | null | string | — |
rqlCondition | Optional | string | RQL formula guard — the rule fires only when this expression is truthy. Documented default: |
updateTriggerType | Optional | UpdateTriggerType | Controls when an Conditional. Required when |
Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
object | Required | TObject | — |
TypeScript signature
defineRecordTriggeredFlow<TObject extends ObjectReference>(object: TObject, props: DefineRecordTriggeredFlowProps<TObject>): Rule;
Returns
Rule
Availability
| Capability | Support |
|---|---|
| Pull into a project | Supported |
| Runtime operations | Not available for this helper |