Invalid Function Evaluate({@URLDecode("Domino";"} + strRequestContent + {")})

Dear All

I am facing a critical problem.

I am decoding a content using @URLDecode in lotus script through Evaluate function.

My syntax is

varDecodedUrl = Evaluate({@URLDecode(“Domino”;“} + strUrl + {”)})

Forall strDecodedUrl In varDecodedUrl

strUrl = strDecodedUrl

End Forall

This code is running absolutly fine. but the same code is not running in another agent.

I just change the variable name only. please help me.

Thanks

Regards

Ashish

Subject: RE: Invalid Function Evaluate({@URLDecode(“Domino”;“} + strRequestContent + {”)})

This code was never correct. That it worked before is just luck. Apparently your data has characters in it (such as \ and ") that would end up causing a formula syntax error. For instance, suppose strRequestContent contains the string Sailor said “hi there!”

This results in your trying to evaluate the macro language expression:

@URLDecode(“Domino”;“Sailor said “hi there!””)

which is not syntactically correct.

If that is not your problem, please click the CRISPY link below to see how you can try to solve this problem yourself and if not, what information you need to provide to help others help you.

  • Andre Guirard, IBM/Lotus Development

Useful blog: Best Practice Makes Perfect

For faster answers, be C R I S P Y

Subject: Invalid Function Evaluate({@URLDecode(“Domino”;“} + strRequestContent + {”)})

What do you mean “not running”? Are you getting an error, and if so, what.

You are sure that the variable strUrl is always valid URL? No spaces etc.

If so, for both agents, make sure they are the same - look at the security settings