--- alias: user-guide-business-workflow-task-material-production-order-change-pre render_macros: false description: "Starts a workflow before materials are assigned to or removed from a production order." --- # Before Material Production Order Change Starts a workflow before **Materials** are assigned to or removed from a **Production Order**. ![Screenshot of a Business Workflow checking pending Material Production Order assignments before applying them.](images/business-workflow-task-material-production-order-change-pre.png) ## Event Context The event provides `MaterialProductionOrders`, `IncludeChildren`, `OperationContext` to tasks in its branch. Select these values in the value editor when configuring child tasks. ??? example "Before Material Production Order Change" Validate the proposed **Material**/order assignments or removals before the native orchestration applies them. ## Behavior The handler runs inside the operation's transaction. An error in the handler can cancel or roll back the operation. An After event runs after the operation boundary, while the transaction is still active.