--- alias: user-guide-business-workflow-task-material-track-in render_macros: false description: "This documentation outlines a task to track a material within a workflow" --- # Track-In The task allows the user to Track-In a Material. ![Screenshot showing a business workflow task for tracking materials.](images/business_workflow_task_material_track_in.png) ??? example "Example" Trigger: - Task Name: `MaterialDispatchPost_1` - Meaning: After performing Dispatch Material. Condition: - Input Expression: `{{$MaterialDispatchPost_1.Material.Step.Name=="Storage Preparation"}}` - Meaning: If the Material that was dispatched is at the Storage Preparation Step. Action: - Input: `{{$MaterialDispatchPost_1.Material}}` - Meaning: The Material that was dispatched is tracked in. ## Behavior The user will define a Material. ## Inputs | Name | Data Type | Description |Expression| | --------------- | ---------- | - |-- | | `Material` | `Material` | The Material that will be tracked in |-`{{$.Material}}`
- ``| | `Comment` | `String` | An optional comment that will be associated with the operation that is being executed || ## Outputs | Name | Data Type | Description | | --------------- | ---------- | - | | `Material` | `Material` | The Material that was tracked in | | `Resource` | `Resource` | The Resource where the material was tracked in | ## Remarks The Material input can be defined by the user as a simple name or an expression, such as **\{\{\$task.Material\}\}** where `task` is the name of a block that has the Material as input/output.