Fluent Commerce Logo
Docs
Sign In

ScheduleEvent

Rule

Changed on:

19 Apr 2024

Overview

Send an event to trigger another Ruleset for the same entity after a specified amount of time has passed.

Plugin NameCore Reference Module
Namespace[[account.id]].core

The Core Reference Module is a foundational Reference Module. 

It provides a base set of general purpose Rules:

  • that other Modules are built upon 
  • or that can be included in your own Workflows

Extensible by design, use this Module as a base to build a solution for the needs of your customers.

UI Description

Do {eventName} after {delay}

Accepts

  • All Orchestration Entities

Actions

Rule parameters

Name

Type

Description

`eventName`

`String`

The name of the scheduled event to be triggered.

`delay`

`TimePeriod`

Number of seconds to delay before the event is triggered.

Configuration example

1{
2    "name": "[account].core.ScheduleEvent",
3    "props": {
4        "delay": 600,
5        "eventName": "CancelSoftReservation"
6    }
7}

Language: json

Detailed Technical Description

This Rule will produce a SendEventAction.

The Event produced will have the same Context and Event Attributes as the currently executing Event, but will be named using the value provided in the

`eventName`
parameter, and a
`scheduledOn`
value of now + the number of seconds specified in the
`delay`
parameter.

Workflow Builder (Modeller) Screenshot
No alt provided

Version History

2023-08-02

v23.8.2

Refers to the Product Release Version