|
NAMEOpenXPKI::Server::API2::Plugin::Workflow::execute_workflow_activity COMMANDSexecute_workflow_activityExecutes a given activity on a workflow. By default, the activity is executed "inline", all actions are handled and the method returns a HashRef with the UI control structure of the new workflow state. Use parameters "async" and/or "wait" for "background" execution using a newly spawned process (see below).
Changes compared to API v1: String parameter "ASYNC" was split into two boolean parameters "async" and "wait": CTX('api') ->execute_workflow_activity(.. ASYNC => "fork") # old API
CTX('api2')->execute_workflow_activity(.. async => 1) # new API
CTX('api') ->execute_workflow_activity(.. ASYNC => "watch") # old API
CTX('api2')->execute_workflow_activity(.. async => 1, wait => 1) # new API
|