Automation Rules

Invoked with levelops.automationRules().

1. getResults(objectId, objectType, [ onlyNewMatches ]) : AutomationRuleMatch[]

  • Description: List eventual Automation rule matches for a given Object ID and type. Use onlyNewMatches = true to filter out older matches.

  • Returns: Array of AutomationRuleMatch objects. See class methods below.

  • Examples:

levelops.automationRules().getResults(objectId, objectType);
levelops.automationRules().getResults(objectId, objectType, true);

2. AutomationRuleMatch Class

  • AutomationRuleMatch.getRuleName() : String

  • AutomationRuleMatch.getCount() : int

  • AutomationRuleMatch.getMatchContent() : String

Last updated

#378: DOCS REVAMP

Change request updated