Hi,
I’m trying to run a sample workflow, which has user task and there is a job worker which just logs the job details but doesn’t complete the user task. Later there is one API call, when that is made I’m trying to get the user task based on task ID which was logged during User Task worker execution. But I’m getting below exception and later the in TaskList Client, those User tasks are getting removed in the TaskList. And in Operate I see the current state will be in User Task only.
io.camunda.tasklist.exception.TaskListException: Error(message = The field at path ‘/task/taskState’ was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is ‘TaskState’ within parent type ‘Task’, locations = null, path=[task, taskState], extensions = {classification=NullValueInNonNullableField}, nonStandardFields = null),Error(message = java.lang.NullPointerException: element cannot be mapped to a null key, locations = [Location(line = 1, column = 171)], path=[task, variables], extensions = {type=CompletionException, classification=DataFetchingException}, nonStandardFields = null)