Skip to content
← Back to Index

OnRuleUpdated

This hook runs after a rule has been updated.

Type

filtrera
{
  hook: 'OnRuleUpdated'
  rule: {
    ruleId: text
    label: text | { text -> text } | nothing
    activeFrom: instant
    activeTo: instant
    components: [{
      componentId: text
      parameters: { text -> value }
    }]
  }
  before: {
    ruleId: text
    label: text | { text -> text } | nothing
    activeFrom: instant
    activeTo: instant
    components: [{
      componentId: text
      parameters: { text -> value }
    }]
  }
}

Effects

messageActor Sends a message to an actor.
scheduleJob Schedules a job.
sendEmail Queues an email for delivery through the Sendings system.

© 2024 Hantera AB. All rights reserved.