Why does my trigger fail unexpectedly?

When you configure variables in the workflow, set them as input if they match the name of any of the event schema properties.

For example, assume that you have a workflow with a variable named Flow.priority and the variable is not used as an input. The topic v2.taskmanagement.workitems.{id} contains priority as a property and is sent as part of the event schema. In this instance, a conflict occurs and the workflow is not triggered. To resolve this issue, either use the Flow.priority variable as an input or rename Flow.priority so that it does not match the properties names of the event schema.

For more information, see Overview of triggers.