|
validate_input_paramsValidates the given parameters against the field spec of the current activity and returnsCurrently NO check is performed on data types or required fields to not break old code. Currently returns the input parameter HashRef on success. Throws an exception on error. Positional parameters
execute_activityExecutes the named activity on the given workflow object.See API command "execute_workflow_activity" for more details. Returns an OpenXPKI::Workflow object. Positional parameters
_execute_activity_syncExecutes the named activity on the given workflow object.Returns 0 on success and throws exceptions on errors. Positional parameters
_execute_activity_asyncExecute the named activity on the given workflow object ASYNCHRONOUSLY, i.e. forks off a child process.Returns the PID of the forked child. Positional parameters
get_wf_infoReturns informations about a workflow from the workflow engine and the config as a HashRef:{ workflow => { type => ..., id => ..., state => ..., label => ..., description => ..., last_update => ..., proc_state => ..., count_try => ..., wake_up_at => ..., reap_at => ..., archive_at => ..., context => { ... }, attribute => { ... }, # only if "with_attributes => 1" }, # only if "with_ui_info => 1": handles => [ ... ], # global actions currently allowed: "wakeup", "resume", "fail" etc. activity => { ... }, # currently available actions state => { button => { ... }, option => [ ... ], output => [ ... ], }, } The workflow can be specified using an ID or an OpenXPKI::Server::Workflow object. Named parameters:
watchWatch a workflow for changes based on the "workflow_state", "workflow_proc_state" and "workflow_last_update" columns.Expects the workflow object as parameter. The method returns the changed workflow object if a change was detected or the initial workflow object if no change happened after 15 seconds.
Visit the GSP FreeBSD Man Page Interface. |