OpenXPKI::Server::Workflow::Activity::Tools::WFHash
Allow array structures to be modelled in the workflow action definitions using a
single implementation class.
<action name="add_cert_to_publish"
class="OpenXPKI::Server::Workflow::Activity::Tools::WFHash"
array_name="certs_found"
function="setValueForKey"
context_key="_add_cert_key"
context_val_key="_add_cert_val"
>
</action>
The following parameters may be set in the definition of the action:
The name of the workflow context parameter containing the hash to be used
The following functions are supported:
- setValueForKey
- Adds the value of the context parameter named in context_val_key to
the the hash in the key name currently in the context parameter named in
context_key.
The name of the context parameter that either contains or is the lvalue for the
function.
When retrieving an element of the array, this specifies the name of the context
parameter that contains the value of the element.