Uploaded image for project: 'OODT'
  1. OODT
  2. OODT-215 Workflow2 Architecture
  3. OODT-206

WorkflowConditions should return a WorkflowConditionOutput that contains failReasons

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4
    • Component/s: workflow manager
    • Labels:
      None
    • Environment:

      from JPL's internal JIRA pre Apache

      Description

      The WorkflowConditions associated with a task currently only return true or false. While this has sufficed in the past, there really should be some sort of formal data structure (i.e. my "WorkflowConditionOutput" suggestion) that contains, at a minimum:

      1. WorkflowCondition success, true or false
      2. List<FailureReason> which contains a (list of) reason(s) why the condition failed
      3. Metadata object representing the dynMetadata passed in to the WorkflowCondition (that it used to evaluate)

        Attachments

          Activity

            People

            • Assignee:
              chrismattmann Chris A. Mattmann
              Reporter:
              chrismattmann Chris A. Mattmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: