-
Story
-
Resolution: Unresolved
-
Major
-
1.35.0
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