--- alias: user-guide-automation-task-oib-materialmoved tags: - automation tasks description: "This documentation details a task that reports packaging unit chain movements within a factory" --- # Setup Center Material Moved The `Setup Center Material Moved` task informs when a packaging unit chain was moved. ![1562171137862](./images/material_moved_parameters.png) ## Inputs | Name | Data Type | Description | | -------- | --------- | ----------------- | | Activate | `Any` | Activate the task | ## Outputs | Name | Data Type | Description | | ------- | --------- | ------------------------------------------------ | | factoryLocation | `String` | Name of the location inside the factory | | action | `String` | The type of material movement | | source | `String` | The source of an operation, e.g. PackagingUnitQuantityChanged event, detected within Setup Center. | | timestamp | `DateTime` | Date and time when the material movement happened | | line | `String` | The line where the moved packaging unit belongs to | | setup | `String` | The setup where the moved packaging unit belongs to | | packagingUnitLocation | `Object` | The moved packaging unit and the associated component location | | errorId | `String` | Failure Error Id. Example: 'someId' | | errorMessage | `String` | Failure message. Example: 'Fatal Error Message' | | Success | `Boolean` | Triggered when the task is executed with success | | Error | `Error` | Triggered when the task failed for some reason | ## Settings On the `General` tab, you have the usual settings and the following settings: | Name | Data Type | Values | Default | Description | | ------------- | --------- | ------ | ------- | ------------------------------------------------------------ | | Auto Activate | `Boolean` | | `true` | On initializing the task, subscribes it to the Gate Keeper Messages. If false, only subscribes on Activate. | ![1562259678207](./images/material_moved_settings.png) ## Behavior This task captures the SetupCenter interface, whenever a packaging unit chain was moved. ## Remarks None.