Uploaded image for project: 'Serverless logic'
  1. Serverless logic
  2. SRVLOGIC-551

Add Computed Field for Workflow State in Data Index GraphQL Schema

XMLWordPrintable

      Summary:
      Enhance the Data Index GraphQL schema by adding a computed field that provides additional details about the ACTIVE state of a workflow instance, distinguishing between "running" and "waiting" states based on node events.

       

      Description: Currently, workflow instances have the following possible states]:

          PENDING,
          ACTIVE,
          COMPLETED,
          ABORTED,
          SUSPENDED,
          ERROR

      To improve the user experience, a new computed field should be added to the Data Index GraphQL schema that automatically determines whether a workflow instance in the ACTIVE state is "running" or "waiting." This will be calculated from the list of nodes, eliminating the need for users to perform this calculation themselves.

       

      Acceptance criteria:

      () Check a new property (executionSummary) is been added to graphql schema and behaves as expected providing all the events related to workflow states: start, fail, retrigger, waiting (at node sleep) and complete.

      () Add automated tests for executionSummary 

              ftirados Francisco Javier Tirado Sarti
              rh-ee-masayag Moti Asayag
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: