Orchestrator Function: Scheduled a Workflow

by Simon Sparks · 1 May 2013

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

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

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

returnobjTask;
}


Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like