Skip to content

Home

Introduction

Development

IDEs

Services

API Explorer

Releases

Release notes

Martini Runtime

Martini Desktop

Martini Online

Feature requests

Bug reports

Delaying transitions in Flux

Transitions can be delayed for a particular amount of time or even wait for a certain date. This can be configured on the Wait property of a transition. The syntax for its value is duration|date:<expression>. duration is in seconds while date can be a GloopDate or a timestamp. <expression> can be a Gloovy expression and can use any transition inputs.

Examples:

  • duration:5 - waits 5 seconds before invoking the transition.
  • date:1735660800000 - waits for January 1, 2025.
  • date:${myDate} - waits for myDate, a transition input of type GloopDate.