Skip to content

WorkFlowProps

Properties for defining a WorkFlow.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-schedulerx-workflow

Initializer

import { WorkFlowProps } from '@alicloud/ros-cdk-schedulerx'
const workFlowProps: WorkFlowProps = { ... }

Properties

Name Type Description
groupId string | @alicloud/ros-cdk-core.IResolvable Property groupId: The application Group ID, which is obtained from the application management page of the console.
namespace string | @alicloud/ros-cdk-core.IResolvable Property namespace: The namespace ID, which is obtained from the namespace page in the console.
timeType number | @alicloud/ros-cdk-core.IResolvable Property timeType: Time type.
workflowName string | @alicloud/ros-cdk-core.IResolvable Property workflowName: Workflow Name.
description string | @alicloud/ros-cdk-core.IResolvable Property description: Workflow description.
maxConcurrency number | @alicloud/ros-cdk-core.IResolvable Property maxConcurrency: The maximum number of workflow instances running at the same time.
namespaceSource string | @alicloud/ros-cdk-core.IResolvable Property namespaceSource: Special third parties are required.
timeExpression string | @alicloud/ros-cdk-core.IResolvable Property timeExpression: Time expression, which is set based on the selected time type.
timezone string | @alicloud/ros-cdk-core.IResolvable Property timezone: Time Zone.

groupIdRequired

public readonly groupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property groupId: The application Group ID, which is obtained from the application management page of the console.


namespaceRequired

public readonly namespace: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property namespace: The namespace ID, which is obtained from the namespace page in the console.


timeTypeRequired

public readonly timeType: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property timeType: Time type.

Currently, the following time types are supported: - cron: 1 - api: 100.


workflowNameRequired

public readonly workflowName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property workflowName: Workflow Name.


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property description: Workflow description.


maxConcurrencyOptional

public readonly maxConcurrency: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property maxConcurrency: The maximum number of workflow instances running at the same time.

The default value is 1, that is, the last trigger is not completed, and the next trigger will not be performed even when the running time is reached.


namespaceSourceOptional

public readonly namespaceSource: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property namespaceSource: Special third parties are required.


timeExpressionOptional

public readonly timeExpression: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property timeExpression: Time expression, which is set based on the selected time type.

cron: Fill in standard cron expressions to support online verification. - api: No time expression.


timezoneOptional

public readonly timezone: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property timezone: Time Zone.


Protocols