
--
You received this message because you are subscribed to the Google Groups "Kogito development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kogito-developm...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/kogito-development/c2f05a3c-aea6-4836-b17f-e5f2a1519e19n%40googlegroups.com.
Hello Pere,
In the attached screenshot (below), you can see we have a service task called "Action Selector". Based on this, the workflow proceeds along specific paths such as "Change Section", "Allocate", and others. These represent the actions being performed.
However, when reviewing the user task history in the Task Console, we only see the User Task states like "Assigned", "In-Progress", and "Analysis". This is because we have only three user tasks defined—Assigned, In-Progress, and Analysis—and actions like "Change Section", "Allocate", and "On-Hold" are executed within the In-Progress task.
Currently, the GraphQL task history API captures and returns only the UserTaskInstances, which is why we only see the main user tasks in the response, not the specific actions taken during those tasks.
We need to capture all actions (e.g., "Change Section", "Allocate", "Return To All Queue", "Kill Review Queue", "On-Hold" etc.) as part of the UserTaskInstance history.
Note: We do not want to introduce new user tasks for each action.
Our goal is to enrich the UserTaskInstance with additional data reflecting these actions, so they are visible when querying task history (e.g., via GraphQL or Task Console).
