I have an issue in ampscript to get value in journeyData to Send an SMS. This is my ampscript to check if that field in journeyData has value or not
if empty(sObject:field) then set @field = "empty" endif if not empty(sObject:field) then set @field = sObject:field endif
the thing is it's not sending sms because of this line of code eventhough I have a checker
set @field = sObject:field
if I remove this line and the data that entered the journey has no value for this field an sms will be sent same with data having this value. Any reason why this is happening eventhough I have a checker.
I'm running out of options , any suggestion is a big help thanks!