Skip to content

Commit

Permalink
Apply automatic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Sep 25, 2022
1 parent cb5fc0f commit 5665314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/implementation-task-handlers.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import (
func main() {
bpmnEngine := bpmn_engine.New("name")
process, _ := bpmnEngine.LoadFromFile("simple-user-task.bpmn")
bpmnEngine.NewTaskHandler().Id("user-task").Handler(userTaskHandler())
bpmnEngine.NewTaskHandler().Assignee("assignee").Handler(userTaskHandler())
instance, _ := bpmnEngine.CreateAndRunInstance(process.ProcessKey, nil)
// ... just wait for the human completed his/her task
bpmnEngine.RunOrContinueInstance(instance.GetInstanceKey())
Expand Down

0 comments on commit 5665314

Please sign in to comment.