Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Post to SNS Topic

Prev Next
Step Details
Introduced in Version3.0.0
Last Modified in Version8.9.0
LocationIntegration > Amazon AWS > SMS

The Post to SNS Topic step is used to take an inputted string of text and output it to SNS and is then posted.

Prerequisites 


Properties

Settings

PropertyDescriptionData Type
Topic NameName defined in SNS to be selected from a dropdown to define the topic.String

Inputs

PropertyDescriptionData Type
Message TextThe body of the message to be posted to SNS.String

Outputs

PropertyDescriptionData Type
Message IDOutputs completed step information.String


Common Errors

Topic Cannot Be Empty

If the topic has not been inputted, the step will cause an error.

To correct this, input a topic into it's designated section under Settings.

Exception Message:

DecisionsFramework.BusinessRuleException: [BusinessRule] You have to pick a Topic, it cannot be empty at Decisions.AWS.SNS.SnsUtilities.PublishToTopic(String messageText, SnsTopic actualTopic, String messageGroupId, String messageDeduplicationId)
 at Decisions.AWS.SNS.PostSnsMessage.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)