Step Details | |
| Introduced in Version | 4.0.0 |
| Last Modified in Version | 9.17.0 |
| Location | Integration > Message Queues |
Similar to the Post Message step, the Post String Message step allows a string to be sent to a message queue, avoiding the need to encode the string before sending the message.
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 |
| Run Async (v9.17+) | Allows Users to enable/disable Run Async for the selected Kafka queue. This property will only be present when a Kafka queue is selected; otherwise, it will be hidden. If Get Queue From Flow is enabled, the property will also be hidden. | Boolean |
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 string sent to the queue. | String |
| Override Message Id | The defined value is used when overriding the message ID. | String |
Outputs
| Property | Description | Data Type |
|---|---|---|
| Message Id | The message ID is returned for tracking purposes in the queue. | String |
Run Async (v9.17+)
Common Errors
Missing Queue selection
If a message queue 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.
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Post String Message 1[PostStringMessage] 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.PostStringMessage.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 ---Step Changes
| Description | Version | Date | Developer Task |
|---|---|---|---|
| A new property, Run Async, has been added to the Post String Message step. | 9.17 | December 2025 | [DT-045945] |
Related Information
Forum Posts:
