Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-491 Finish line tasks for Wengine integration
  3. OODT-484

Enhance Workflow Lifecycle to include state change logic

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.4
    • 2.0
    • workflow manager
    • None
    • none

    Description

      Let's split up the lifecycle XML file into several files (kind have it look like filemgr element and product-type XML files):
      1) Define States XML file
      2) Define Stages XML file
      3) Mapping of States to Stages XML file
      4) Mapping of States to next valid States

      I then propose we add a Priority to each Stage (its purpose will become apparent)... Then we create a new Interface: StatePreCondition... These preconditions would then be attached to a State... Then when the Workflow Processor detects a sub-processor State change it would poll each next valid State (determined by mapping in purposed XML file #4) for their PreConditions and if any of the State's PreConditions pass then that State would become the next State of that Workflow Processor (if multiple States pass as next State, then the priority attached to the Stage each State belongs to is used to determine which State becomes next State)

      Attachments

        Activity

          People

            bfoster Brian Foster
            bfoster Brian Foster
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: