• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

Added a few helper procs

Added diagram of core of engine to help other developers understand how it works

    • binary
    ./www/doc/workflow-parallel-engine.png
    • -0
    • +116
    ./www/doc/workflow-parallel-engine.vsd
Added support for workflows with hierarchy, parallel actions, and dynamic number of parallel actions. Phew.

    • -176
    • +221
    ./sql/postgresql/upgrade/upgrade-1.2-2.0d1.sql
  1. … 3 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

Added unique constraint on workflow_fsm_action_en_in_st table

Recursive workflows

    • -1
    • +114
    ./sql/postgresql/upgrade/upgrade-1.2-2.0d1.sql
    • -10
    • +249
    ./tcl/test/workflow-test-procs.tcl
    • -8
    • +13
    ./www/doc/fall-2003-extensions.html
Making child-workflow export/import/clone work

Allow clearing child_role_map without setting child_workflow_id

Definition-level support for recursive workflows

    • -24
    • +15
    ./sql/oracle/workflow-tables-create.sql
    • -24
    • +15
    ./sql/oracle/upgrade/upgrade-1.2-2.0d1.sql
    • -0
    • +1
    ./sql/postgresql/workflow-tables-drop.sql
    • -24
    • +15
    ./sql/postgresql/upgrade/upgrade-1.2-2.0d1.sql
- Fixed on delete cascade -> on delete set null for workflow_fsm_actions

- Added definition level tables for recursive workflows

    • -0
    • +40
    ./sql/oracle/workflow-tables-create.sql
    • -1
    • +57
    ./sql/oracle/upgrade/upgrade-1.2-2.0d1.sql
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

Do not default to text/plain for description_mime_type

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)

    • -9
    • +11
    ./tcl/workflow-procs-postgresql.xql
*** empty log message ***

Bug fix in workflow::state::fsm::generate_states_spec proc. The states_list list variable wasn't initialized