Function: Scheduled a Workflow

by Simon Sparks · 1 May 2025

To use this function add it to the class library file named OrchestratorService.ts

GitHub Repository: https://github.com/SimonSparksUK/Orchestrator

Filename: OrchestratorService.ts

Description: Orchestrator Function to schedule a workflow.

Function: WorkflowSchedule

public WorkflowSchedule(objWorkflow: Workflow, objWorkflowProperties: Properties, dteWorkflowScheduleDate: Date): Task {

    let objTask: Task = objWorkflow.schedule(objWorkflowProperties, dteWorkflowScheduleDate, null, null);

    return objTask;
}


Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like