Skip to main content

Function: hasUnprocessedInput()

hasUnprocessedInput(history): boolean

True when the history has input events no completed workflow task has delivered, so the run needs a workflow task (the service schedules one after appending an input or completing a task; the test environment uses the same rule). Inputs appended while a task ran belong to the next task (C-HIST rule 5), so they count.

Parameters​

history​

readonly RunEventRecord[]

Returns​

boolean