Hi – I have a variable in the custom script action,
%%redirectURL = “mydomain.com/myval/”+sgapiGetRespondentSessionID()+”/somethingelse”
I want to use this %%redirectURL while mentioning the URL in the URL redirect action.
I have 2 suggestions:
If you are doing this in a custom script format replace your “+” with “.” to concatenate strings.
Also, I have found I have more success with custom scripting when I declare it up front in a variable.
Can you try inserting the following before you make the statement –
%%userResponseID = sgapiGetRespondentSessionID();
%%redirectURL = “mydomain.com/myval/”.%%userResponseID.”/somethingelse”
Please let me know if it works for you.