• last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
porting queries in the 2.0 version of workflow from postgres to oracle. Moving common query workflow::case::fsm::get_state_info_not_cached.select_state_info into shared xql file.

porting the table-create sql script and the 1.2-2.0d1 upgrade script from PG to Oracle

  1. … 4 more files in changeset.
throwing error from workflow::case::new if workflow doesn't have any state (it's not functional without states).

changing proc workflow::case::fsm::get to allow parent_enabled_action_id to be null. Removing two obsolete TODOs

  1. … 1 more file in changeset.
Added -handlers to workflow::role::edit

Ensure that child workflows have an initial action, and that it changes state

Fixed cloning of recursive/parallel

  1. … 6 more files in changeset.
Fixed cloning

- Short_names are workflow-wide

- pretty-names are unique per parent_action_id

  1. … 2 more files in changeset.
Added a few helper procs

Added support for workflows with hierarchy, parallel actions, and dynamic number of parallel actions. Phew.

    • -177
    • +661
    ./test/workflow-test-procs.tcl
  1. … 4 more files in changeset.
adding the workflow::case::role::assignee_remove proc. Adding the id_values switch to the workflow::role::get_options proc

- Generating spec/new_from_spec/cloning recursive workflows

- Automatically create initial action when new workflow is created

Removed aa_log statements

Proc to set action enabled in state

Recursive workflows

    • -10
    • +249
    ./test/workflow-test-procs.tcl
  1. … 4 more files in changeset.
Making child-workflow export/import/clone work

Allow clearing child_role_map without setting child_workflow_id

Definition-level support for recursive workflows

  1. … 5 more files in changeset.
Bad attempt at left outer join

Documenting workflow::action::fsm::get

Fixed action-permission bug: workflow::action::get_assigned_role had changed from returning role_id to returning role short_name

Fixed bug: We used to do default assignment for all roles, not just all roles in the current workflow

::get_enabled_action API

Check for initial action, check that initial action changes state

String trim all attributes when creating from spec

Cloning, creating from spec

Extensible spec-generation code

  1. … 6 more files in changeset.
New ::edit API that handles insert/update/delete for cascaded types (action -> fsm_action -> something else)

  1. … 2 more files in changeset.
Bug fix in workflow::state::fsm::generate_states_spec proc. The states_list list variable wasn't initialized