Get String Message
- 09 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Get String Message
- Updated on 09 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 4.0.0 |
Last Modified in Version | 8.0.0 |
Location | Integration > Message Queues |
The Get String Message step retrieves the string message from a specified queue either by the queue name or from the Flow itself. The step will retrieve a message from the defined queue under the SETTINGS category for the step.
Properties
Output
Property | Description | Data Type |
---|---|---|
Message | The contents of the message as a single string. | String |
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 Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get String Message 1[GetStringMessage] 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.GetStringMessage.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:
Was this article helpful?