completeManualProcessStep

Back to index

Summary

Completes a manual process step.
jobStepId
UUIDrequired
The primary key for a job step.
action
Stringoptional
The type of action to be taken on the manual process step or manual task or gate task.
Possible values: "completed", "failed", "skipped"
actualParameter
Arrayoptional
Actual parameters passed to the specified job step.
comment
Stringoptional
Evidence provided while taking an action on the manual process step.

Usage

Perl

$cmdr->completeManualProcessStep( "test-jobStepId" # jobStepId # optionals );

ectool

ectool completeManualProcessStep \ "test-jobStepId" `# jobStepId` \ # optionals

Examples

Perl

To approve the manual process step:

$cmdr->completeManualProcessStep("4fa765dd-73f1-11e3-b67e-b0a420524153", {action => completed, comment => "Success"});

To reject the manual process step:

$cmdr->completeManualProcessStep("4fa765de-73f1-11e3-b67e-b0a420524153", {action => failed, comment => "Try again"});

ectool

To approve the manual process step:

ectool completeManualProcessStep "4fa765dd-73f1-11e3-b67e-b0a420524153" --action completed --comment "Success"

To reject the manual process step:

ectool completeManualProcessStep "4fa765de-73f1-11e3-b67e-b0a420524153" --action failed --comment "Try again"