--- title: "Post Message Steps" slug: "post-message-steps" updated: 2023-01-05T21:32:07Z published: 2023-01-05T21:32:07Z canonical: "documentation.decisions.com/post-message-steps" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Post Message | ## Step Details | | --- | | **Introduced in Version** | 3.0.0 | | **Last Modified in Version** | 8.0.0 | | **Location** | Integration > Message Queues | The Post Message Step sends a message to the selected queue defined on the SETTINGS for the step. The Queue Name can be selected from the drop-down menu, or provided as part of a [Message Queue Handler Flow](https://documentation.decisions.com/docs/setting-up-messaging-overview). The message will be sent as a list of encoded bytes. --- #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Always Override ID (Even if Null or Empty) | If enabled, the sent message ID will always be overwritten, even if no value is sent. | Boolean | | Message Body | The body of the message. The message body will be a list of encoded bytes sent to the queue | List of Byte | | Override Message Id | The defined value used when overriding the message ID | String | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Message Id | The message ID returned for tracking purposes in the queue | --- | #### Settings | Property | Description | Data Type | | --- | --- | --- | | Queue Name | The name of the selected Queue | String | | Get Queue From Flow | Retrieves the queue name from the Flow. | String | --- ## Example Inputs and Outputs | Always Override Id (Even if Null or Empty) | Message Body | Override Message Id | Output | | --- | --- | --- | --- | | False | YWJjDQpkZWYNCmdoaSAgIA0Kamts | False | Message Id: 08dadf96-196b-42aa-c360-f149cc047f0d | | False | YWJjDQpkZWYNCmdoaSAgIA0Kamts | ABC123 | Message Id: ABC123 | | True | YWJjDQpkZWYNCmdoaSAgIA0Kamts | NULL | Message Id: NULL | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1671217341282.png) --- ## Common Errors ### Missing Queue selection If a [message queue](https://documentation.decisions.com/docs/about-messaging) is not selected under the SETTINGS category for the step, the step will throw an error. Ensure that a queue has been selected before running the step. ```cpp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Post Message 1[PostMessage] in flow [Testing]: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DecisionsFramework.Data.Messaging.MessageServerEndpoint.GetQueueByName(String queueName) at DecisionsFramework.Data.Messaging.MessagingService.GetQueueByName(String queueName) at DecisionsFramework.Data.Messaging.BaseMessagingStep.GetQueue(StepStartData stepData) at DecisionsFramework.Data.Messaging.PostMessage.Run(StepStartData data) at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData) at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) --- End of inner exception stack trace --- ``` --- Related Information Forum Posts: - [Kafka Queue - Retrieving Most Messages](https://support.decisions.com/forum/topic2856-kafka-queue--retrieving-multiple-messages.aspx) - [SQS Messaging](https://support.decisions.com/forum/topic24489-sqs-messaging.aspx)