GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OpenXPKI::Server::Workflow::Activity::Tools::SearchWorkflow(3) User Contributed Perl Documentation OpenXPKI::Server::Workflow::Activity::Tools::SearchWorkflow(3)

OpenXPKI::Server::Workflow::Activity::Tools::SearchWorkflow

Search the workflow table based on given conditions. The default is to search for a single workflow and get its ID back. If you want to search for multiple workflows or need extra information you can pass the mode parameter. The running workflow is always removed from the result.

If no result is found, the targer_key is set to undef.

Also check the documentation of the search_workflow_instances API method.

id
Expect a single (or no) result from the query. If the given query returns more than one item, the search fails with a configuration error.
list
Return the ids of the workflows as list.

mode
One of id, list, see description.
realm
The realm to search in, the default is the current realm. You can use the special word _any to search in all realms. Use this with caution!
order
Order the result set by this column
limit
Integer, limit the size of the result set to max items
target_key
Context key to write the search result to, default is search_result.
wf_type, wf_state, wf_creator, wf_proc_state
Values are passed as arguments for the respective workflow properties.
tenant
The tenant to search for, the default is to use the tenant of the current workflow.
attr_*
Any parameter starting with the prefix attr_ is used as query condition to the workflow attributes table, the prefixed is stripped, the remainder is used as attribute key. Values are passed as full text match.
2022-05-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.