Complete an instance step that is currently
Active. If the step is configured with output fields, you can set the values of those output fields while completing the step.
You must have admin access to the Instance, or be an assignee for the Step for this request to succeed
completeStep(string $id, array $fields = null): InstanceStep
|The ID of the Instance Step to complete|
|Optional named fields to set on the InstanceStep.|
Must match Fields configured on the InstanceStep.
|returns||The completed Instance Step|
<?php /* * Demonstrates completing a Step in a Workflow Instance */ require_once(__DIR__ . '/vendor/autoload.php'); use Catalytic\SDK\CatalyticClient; $catalytic = new CatalyticClient(); $step = $catalytic->instances()->completeStep('dc0ca16c-789c-402f-9a8e-b29a79a9bcc1');
Updated about 2 years ago