workflow::action::callback_insert |
|
Add a side-effect to an action. |
workflow::action::delete |
|
Delete action with given id. |
workflow::action::edit |
|
Edit an action. |
workflow::action::fsm::delete |
|
Delete FSM action with given id. |
workflow::action::fsm::edit |
|
Edit an action. |
workflow::action::fsm::get |
|
Return information about an action with a given id, including
FSM-related info: enabled_states, enabled_state_ids, assigned_states, assigned_state_ids, new_state, new_state_id. |
workflow::action::fsm::get_element |
|
Return element from information about an action with a given id, including
FSM-related info such as 'enabled_in_states', and 'new_state'. |
workflow::action::fsm::get_ids |
|
Get the action_id's of all the actions in the workflow. |
workflow::action::fsm::get_new_state |
|
Return the ID of the new state for an action |
workflow::action::fsm::new |
|
Add an action to a certain FSM (Finite State Machine) workflow. |
workflow::action::fsm::set_enabled_in_state |
|
Edit the enabled state of an action |
workflow::action::generate_short_name |
|
Generate a unique short_name from pretty_name. |
workflow::action::get |
|
Return information about an action with a given id. |
workflow::action::get_allowed_roles |
|
Return the allowed roles of the given action |
workflow::action::get_assigned_role |
|
Return the assigned role of the given action |
workflow::action::get_element |
|
Return a single element from the information about a action. |
workflow::action::get_existing_short_names |
|
Returns a list of existing action short_names in this workflow. |
workflow::action::get_id |
|
Return the action_id of the action with the given short_name in the given workflow. |
workflow::action::get_ids |
|
Get the action_id's of all the actions in the workflow. |
workflow::action::get_options |
|
Get an options list of actions for use with form builder. |
workflow::action::get_privileges |
|
Return the assigned role of the given action |
workflow::action::get_workflow_id |
|
Lookup the workflow_id of a certain action_id. |
workflow::action::new |
|
This procedure is normally not invoked from application code. |
workflow::action::pretty_name_unique_p |
|
Check if suggested pretty_name is unique. |
workflow::case::action::available_p |
|
Is this action currently enabled and does the user have permission to perform it? |
workflow::case::action::do_side_effects |
|
Fire the side-effects for this action |
workflow::case::action::enabled_p |
|
Is this action currently enabled. |
workflow::case::action::execute |
|
Execute the action. |
workflow::case::action::notify |
|
Send out notifications to relevant people. |
workflow::case::action::permission_p |
|
Does the user have permission to perform this action. |
workflow::case::active_p |
|
Returns true if the case is active, otherwise false. |
workflow::case::add_log_data |
|
Adds extra data information to a log entry, which can later
be retrieved using workflow::case::get_log_data_by_key. |
workflow::case::delete |
|
Delete a workflow case. |
workflow::case::enabled_action_get |
|
Get information about an enabled action |
workflow::case::enabled_action_get_element |
|
Return a single element from the information about an enabled action |
workflow::case::fsm::get |
|
Get information about an FSM case set as values in your array. |
workflow::case::fsm::get_current_state |
|
Gets the current state_id of this case. |
workflow::case::fsm::get_element |
|
Return a single element from the information about a case. |
workflow::case::get |
|
Get information about a case. |
workflow::case::get_available_actions |
|
Get the actions which are enabled and which the current user have permission to execute. |
workflow::case::get_available_enabled_action_ids |
|
Get the enabled_action_id's of the actions available to the given user. |
workflow::case::get_element |
|
Return a single element from the information about a case. |
workflow::case::get_enabled_action_ids |
|
Get the currently enabled_action_id's of enabled user actions in the case. |
workflow::case::get_enabled_action_ids_not_cached |
|
Used internally by the workflow API only. |
workflow::case::get_enabled_actions |
|
Get the currently enabled user actions, based on the state of the case |
workflow::case::get_id |
|
Gets the case_id from the object_id which the case is about,
along with the short_name of the workflow. |
workflow::case::get_log_data |
|
Retrieve extra data for a workflow log entry, previously stored using workflow::case::add_log_data. |
workflow::case::get_log_data_by_key |
|
Retrieve extra data for a workflow log entry, previously stored using workflow::case::add_log_data. |
workflow::case::get_notification_object |
|
Get the relevant object for this notification type. |
workflow::case::get_notification_request_url |
|
Get the URL to subscribe to notifications |
workflow::case::get_notification_requests_multirow |
|
Returns a multirow with columns url, label, title,
of the possible workflow notification types. |
workflow::case::get_user_roles |
|
Get the roles which this user is assigned to. |
workflow::case::new |
|
Start a new case for this workflow and object. |
workflow::case::role::add_assignee_widgets |
|
Get the assignee widget for use with ad_form for this role. |
workflow::case::role::assign |
|
Assign roles from an array with entries like this: array(short_name) = [list of party_ids]. |
workflow::case::role::assignee_insert |
|
Insert a new assignee for this role |
workflow::case::role::assignee_remove |
|
Remove an assignee from this role |
workflow::case::role::assignees_remove |
|
Remove all assignees in this role |
workflow::case::role::get_assignee_widget |
|
Get the assignee widget for use with ad_form for this role. |
workflow::case::role::get_assignees |
|
Get the current assignees for a role in a case as a list of
[array get]'s of party_id, email, name. |
workflow::case::role::get_picklist |
|
Get the picklist for this role. |
workflow::case::role::get_search_query |
|
Get the search query for this role. |
workflow::case::role::set_assignee_values |
|
Get the assignee widget for use with ad_form for this role. |
workflow::case::role::set_default_assignees |
|
Find the default assignee for this role. |
workflow::case::timed_actions_sweeper |
|
Sweep for timed actions ready to fire. |
workflow::clone |
|
Clones an existing FSM workflow. |
workflow::definition_changed_handler |
|
Should be called when the workflow definition has changed while there are active cases. |
workflow::delete |
|
Delete a generic workflow and all data attached to it (states, actions etc.). |
workflow::deputy::delete |
|
Delete deputy information for a certain user_id and deputy_id. |
workflow::deputy::edit |
|
Edit deputy information for a certain user_id and deputy_id. |
workflow::deputy::new |
|
Create a new deputizing period for a user during which workflow
tasks will be assigned to a deputee. |
workflow::edit |
|
Edit a workflow. |
workflow::exists_p |
|
Return 1 if the workflow with given id exists and 0 otherwise. |
workflow::fsm::clone |
|
Clones an existing FSM workflow. |
workflow::fsm::edit |
|
|
workflow::fsm::generate_spec |
|
Generate a spec for a workflow in array list style. |
workflow::fsm::get_initial_state |
|
Get the id of the state that a workflow case is in once it's
started (after the initial action is fired). |
workflow::fsm::get_states |
|
Get the state_id's of all the states in the workflow. |
workflow::fsm::new_from_spec |
|
Create a new workflow from spec. |
workflow::generate_short_name |
|
Generate a unique short_name from pretty_name, or verify uniqueness of a given short_name. |
workflow::generate_spec |
|
Generate a spec for a workflow in array list style. |
workflow::get |
|
Return information about a workflow. |
workflow::get_actions |
|
Get the action_id's of all the actions in the workflow. |
workflow::get_element |
|
Return a single element from the information about a workflow. |
workflow::get_existing_short_names |
|
Returns a list of existing workflow short_names for this package_key and object_id. |
workflow::get_id |
|
Get workflow_id by short_name and object_id. |
workflow::get_notification_links |
|
Return a links to sign up for notifications. |
workflow::get_roles |
|
Get the role_id's of all the roles in the workflow. |
workflow::graph::draw |
|
This procedure is used to generate .dot file of graphviz |
workflow::impl::acs_object |
|
Returns the static string 'acs_object'. |
workflow::impl::notification::get_url |
|
|
workflow::impl::notification::process_reply |
|
|
workflow::impl::role_assignee_pick_list::current_assignees::get_pick_list |
|
Return the list of current assignees for this case and role |
workflow::impl::role_assignee_pick_list::current_assignees::pretty_name |
|
|
workflow::impl::role_assignee_subquery::registered_users::get_subquery |
|
Return a subquery for all registered users. |
workflow::impl::role_assignee_subquery::registered_users::pretty_name |
|
|
workflow::impl::role_default_assignees::creation_user::get_assignees |
|
Return the creation_user of the object |
workflow::impl::role_default_assignees::creation_user::pretty_name |
|
|
workflow::impl::role_default_assignees::static_assignees::get_assignees |
|
Return the static assignees for this role |
workflow::impl::role_default_assignees::static_assignees::pretty_name |
|
|
workflow::install::register_notification_types |
|
Register workflow notification types |
workflow::install::unregister_notification_types |
|
Unregister workflow notification types |
workflow::new |
|
Creates a new workflow. |
workflow::new_from_spec |
|
Create a new workflow from spec. |
workflow::role::add_assignee_widgets |
|
Get the assignee widget for use with ad_form for this role. |
workflow::role::callback_insert |
|
Add an assignment rule to a role. |
workflow::role::delete |
|
Delete workflow role with given id. |
workflow::role::edit |
|
Edit a workflow role. |
workflow::role::generate_short_name |
|
Generate a unique short_name from pretty_name. |
workflow::role::get |
|
Return information about a role in an array. |
workflow::role::get_assignee_widget |
|
Get the assignee widget for use with ad_form for this role. |
workflow::role::get_element |
|
Return a single element from the information about a role. |
workflow::role::get_existing_short_names |
|
Returns a list of existing role short_names in this workflow. |
workflow::role::get_id |
|
Return the role_id of the role with the given short_name in the given workflow. |
workflow::role::get_options |
|
Get a list of roles in a workflow for use in the 'options' property of a form builder form element. |
workflow::role::get_picklist |
|
Get the picklist for this role. |
workflow::role::get_search_query |
|
Get the search query for this role. |
workflow::role::get_workflow_id |
|
Lookup the workflow_id of a certain role_id. |
workflow::role::new |
|
Creates a new role for a workflow. |
workflow::service_contract::action_side_effect |
|
|
workflow::service_contract::activity_log_format_title |
|
|
workflow::service_contract::get_impl_id |
|
|
workflow::service_contract::notification_info |
|
|
workflow::service_contract::role_assignee_pick_list |
|
|
workflow::service_contract::role_assignee_subquery |
|
|
workflow::service_contract::role_default_assignees |
|
|
workflow::state::fsm::edit |
|
Edit a workflow state. |
workflow::state::fsm::generate_short_name |
|
Generate a unique short_name from pretty_name. |
workflow::state::fsm::get |
|
Return workflow_id, sort_order, short_name, and pretty_name for a certain
FSM workflow state. |
workflow::state::fsm::get_element |
|
Return a single element from the information about a state. |
workflow::state::fsm::get_existing_short_names |
|
Returns a list of existing state short_names in this workflow. |
workflow::state::fsm::get_id |
|
Return the id of the state with given short name |
workflow::state::fsm::get_workflow_id |
|
Lookup the workflow that the given state belongs to. |
workflow::state::fsm::new |
|
Creates a new state for a certain FSM (Finite State Machine) workflow. |
workflow::state::fsm::pretty_name_unique_p |
|
Check if suggested pretty_name is unique. |
workflow::tree::sorter::create |
|
<p>Initiliaze a bunch of state variables for a <code>connect by</code> ordered
tree.</p>
<p><h3>Example:</h3>
<pre><code>
# Create a 'sorter' to sort the data
tree::sorter::create -multirow <b>categories_tree</b> -sort_by <b>sort_key</b>
# Get the data
db_multirow -extend {<b>sort_key</b>} <b>categories_tree</b> categories_tree_sql {
select lpad(' ', 6*4*(level-1) + 1, '&nbsp;') || name as name,
category_id,
name as <b>rawname</b>,
<b>level</b>
from categories
connect by prior category_id = parent_category_id
start with parent_category_id = category.lookup('//Personnel Title')
} {
set sort_key [tree::sorter::make_full_key_for -multirow <b>categories_tree</b> -partial_key <b>$rawname</b> -id <b>$category_id</b> -level <b>$level</b>]
}
# Sort the data
tree::sorter::sort -multirow <b>categories_tree</b>
</code></pre></p> |
workflow::tree::sorter::make_full_key_for |
|
Make a key that can be stored with the given row in a
<code>connect by</code>-ordered tree. |
workflow::tree::sorter::sort |
|
Sort the given multirow using the full-sort-keys built earlier by the calls
to <code>tree::sorter</code> proc
<code>tree::sorter::make_full_key_for</code> created with
<code>tree::sorter::create</code>. |
workflow::tree::sorter::sort_list_of_lists |
|
<p>Sort the given list-of-lists. |