When I generate task with wdj components, the generated component have two events CompleteEvent and ErrorEvent and two buttons “Approve” and “Reject”. “Approve” activates the CompleteEvent which triggers the sequence flow after the human task. “Reject” activates the ErrorEvent which apparently suspends the complete process instance and sets it to error.