Skip to main content

Worker

Overview

The Worker Element is used to execute scheduled tasks. All you need to do is set a Cron expression, and the Worker Element will automatically execute. The code part of the Worker Element can be understood as a Function Element that doesn't need any input and doesn't return any results.

images of Worker Element

Features

Cron expression

The worker element can be set to execute periodically by setting a cron expression. You can set the cron expression by clicking on the clock icon on the Worker Element.

images of worker element cron expression

Access

Access in the Executor

In development or debugging scenarios, waiting for the Worker to trigger automatically is not a good way to validate code. Using the Worker Executor allows you to quickly verify the code of the Worker Element and view the details of code execution.

images of worker executor