Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-1846

Add new status in completedWith field of the output schema

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Currently, in the workflow's output schema, the completedWith is limited to success or error: https://github.com/parodos-dev/serverless-workflows/blob/main/shared/schemas/workflow-result-schema.json#L11

       

      We want to introduce a new status "warning" in order to address use case such as MTA when the analysis is completed successfully but the assessment workflow is not able to provide a next workflow (i.s: there are mandatory incidents that needs to be fixed first)

       

      This should be applied to all assessment workflows: if the workflow completed successfully and the assessment process too but there are issues that need to be addressed first, the completedWith shall be set to "warning" instead of error (similar to what is done with the notification severity)

       

      Then the UI will use the field to display a warning icon to catch the eye of the user

              rh-ee-gfarache Gabriel Farache
              rh-ee-gfarache Gabriel Farache
              Yona First Yona First
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: