AnsweredAssumed Answered

Forms Redirect URL including Source parameter

Question asked by donald.mcnally on Aug 25, 2016
Latest reply on May 17, 2017 by cgibohn

I have a form with a button that the user wants to change a field, save the item and reopen it for further editing.  I have used the Redirect URL parameter to accomplish that but also want the URL to include the Source parameter so that the interface goes back to the proper place when the item is closed.  This is the formula I have entered:

fn-If(fn-Equals(Status,"Submitted"),fn-Replace(Item URL,"DispForm","EditForm")&Source=fn-GetQueryString("Source"),fn-GetQueryString("Source"))

 

The problem I have is that the text appears to be encoded by Nintex because the '&' is changed to '&", which makes the URL not work.  I've tried everything I can think of but if the last thing it does is encode that string, I'm not sure I will be able to prevent the encoding.  When I tried using fn-XmlDecode("&") as part of the formula, the output string included '&' but truncated there.

 

Is there any way to do what I want?  I saw something in a post about using {TextStart} and {TextEnd} in workflow formulas.  Are there other similar parameters I can use to prevent the encoding of part of a string?

 

Thanks.

Outcomes