--- alias: user-guide-automation-task-panacim-sendpanacimreply tags: - automation tasks description: "This task sends a PanaCIM reply message based on configured settings and input parameters" --- # Send PanaCIM Reply This Task is specific to be used with the PanaCIM Driver. This Task sends reply messages of a specific type, which can be configured in the Task's settings. ![sendpanacimreply_parameters][sendpanacimreply_parameters] ## Inputs | Name | Data Type | Description | | --------- | --------- | ------------------------------------- | | requestId | `string` | The RequestId of the message received | | Activate | `Boolean` | Activates the task | ## Outputs | Name | Data Type | Description | | ------- | --------- | ------------------------------------------------------ | | Success | `Boolean` | If there was no problem emits a true | | Error | `Error` | Error that occurred during the processing of this task | ## Settings On the *General Tab*, you have the usual settings and the following settings: | Name | Data Type | Values | Default | Description | | -------------------------- | --------- | -------------- | ------- | ---------------------------------------------------------------------- | | Clear Inputs (on activate) | `Boolean` | | `true` | Defines if it is to clear the input values after receiving an activate | | Message Full Name | `string` | | | Identifier of the selected message in the PanaCIM specification, that is, the device ID of the command in the Automation Driver Definition, for example `500`. It is filled automatically when you select the Message. | | Message | `enum` | `PCB-ID Reply` | | Specifies the behavior of the task | ![sendpanacimreply_settings][sendpanacimreply_settings] ## Behavior When activated, this Task sends a reply of a specific message, configured in the settings. The `requestId` input is important to identify the request to be replied to. If the input is empty, the Task uses the `requestId` of the execution context, which is set by the On PanaCIM Request Task that received the request. When you select the Message in the settings, the Task generates one dynamic input for each parameter of the selected command, as defined in the Automation Driver Definition. The Property Name of each input is the `path` extended data of the command parameter or, when the parameter has no `path`, the parameter name. When the Task sends the reply, it writes each input value into the reply message at that path. For the command parameter extended data, see [[user-guide-driver-panacim]]. ## Remarks None. [sendpanacimreply_parameters]: ./images/sendpanacimreply_parameters.png [sendpanacimreply_settings]: ./images/sendpanacimreply_settings.png