--- alias: user-guide-automation-task-oib-packagingunitcontrolstatusextendedrequestresult tags: - automation tasks description: "This task processes a request result, providing status information and triggering success/error outcomes" --- # PackagingUnit ControlStatusExtended Request Result The `PackagingUnit ControlStatusExtended Request Result` task uses the `GetPackagingUnitControlStatusExtended()` method on ISiplaceSetupCenterExternalControl interface. This task is normally used in conjunction with the "packagingUnitControlStatusExtendedRequest" task. This task outputs the task inputs back to the driver. ![1562171137862](./images/packagingunitcontrolstatusextendedrequestresult_parameters.png) ## Inputs | Name | Data Type | Description | |------------------------------|-----------|----------------------------------------------------------| | externalControlResultMessage | `string` | Message describing the reason for the failing operation | | resultState | `Number` | The result status of the returned ExternalControlResult. | | Activate | `Any` | Activate the task | ## Outputs | Name | Data Type | Description | | ------- | --------- | ------------------------------------------------ | | reply | `any` | Reply received from the command | | 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/packagingunitcontrolstatusextendedrequestresult_settings.png) ## Behavior Typical usage scenario, is this task replying to the "packagingUnitControlStatusExtendedRequest" task. ## Remarks None.