Task list not updated automatically
The task list in the worklist UI is not updated automatically. The following example illustrates the problem:
module test
import iTasks
import iTasks.API.Extensions.Admin.WorkflowAdmin
Start :: *World -> *World
Start world = startEngine [ publish "/" (WebApp []) (\_-> manageWorklist [workflow "main" "main" main])
] world
main :: Task String
main
= viewInformation "Test" [] "Press continue to assign a new task"
>>| (SystemUser @: viewInformation "The bug" [] "This doesn't appear automagically in the task list :(")
After pressing "Continue" I would expect the second viewInformation task to appear in the task list right away. Instead, I first need to click the existing task in the task list before the second one appears.
This problem has been around for quite a while, but is becoming more important, because we are going to start making small examples that rely on the proper updating of this list.