Defines a record-triggered automation rule and registers it with the manifest.
A rule fires automatically when a record on the parent custom object is created, updated, or both — depending on triggerType. Each rule runs a list of actions that set field values, optionally guarded by an RQL condition.
Type definition
export declare class Rule {
constructor(customObject: ObjectReference, props: RuleProps & {
apiName: Config['api_name'];
});
getFlowId(): string;
getCustomObjectApiName(): string;
getApiName(): Config['api_name'];
toDict(): Config;
}