Skip to content

Commit c5c8a43

Browse files
committed
removing Maestro codeDepot
1 parent 363a45b commit c5c8a43

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Services/Examples/Maestro/TriggerMaestroWorkflowService.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,13 @@ class TriggerMaestroWorkflowService
2626
* @return WorkflowDefinitionWithId
2727
* @throws ApiException
2828
*/
29-
#ds-snippet-start:Maestro1Step3
3029
public static function getWorkflowDefinition(
3130
WorkflowManagementApi $managementApi,
3231
string $accountId,
3332
string $workflowId
3433
): WorkflowDefinitionWithId {
3534
return $managementApi->getWorkflowDefinition($accountId, $workflowId);
3635
}
37-
#ds-snippet-end:Maestro1Step3
3836

3937
/**
4038
* Get workflow definitions
@@ -79,7 +77,6 @@ public static function triggerWorkflow(
7977
string $mtsec,
8078
string $workflowId
8179
): TriggerWorkflowViaPostResponse {
82-
#ds-snippet-start:Maestro1Step4
8380
$triggerPayload = new TriggerPayload();
8481
$triggerPayload->setInstanceName($instanceName);
8582
$triggerPayload->setParticipants(new stdClass());
@@ -96,11 +93,8 @@ public static function triggerWorkflow(
9693
$triggerOptions = new TriggerWorkflowOptions();
9794
$triggerOptions->setMtid($mtid);
9895
$triggerOptions->setMtsec($mtsec);
99-
#ds-snippet-end:Maestro1Step4
10096

101-
#ds-snippet-start:Maestro1Step5
10297
return $workflowTriggerApi->triggerWorkflow($accountId, $workflowId, $triggerPayload, $triggerOptions);
103-
#ds-snippet-end:Maestro1Step5
10498
}
10599

106100
/**

0 commit comments

Comments
 (0)