Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

String Parameter wiping few special characters off

SA-20624

Summary



User is passing parameters from one screen to the next. While the text consists of few special characters (% and &), the system is wiping them out, and, if the text starts with these characters or if there is a text after these characters, then the system is not proceeding to the next screen.


Error Messages



Not applicable.


Steps to Reproduce



1. Create two simple text properties (say D1 and D2).
2. Create a data transform (SetDT1) to set value of DT1.
3. Create a section, Sec2. Add the D2 property field.
4. Create its corresponding flow action, FA2.
5. Create a flow (Flow2) to execute the above flow action. On the Parameters tab, define a parameter, Description.
6. Create another section, Sec1. Add the D1 property field, and a button used to create WO.S1: Refresh this section, and
    S1: Refresh this section, and execute the above data transform (SetDT1)
    S2: Create Work – to execute Flow2. Pass Temp.D1 as the parameter.
    S3: Close (to close the current WO).
7. Create Sec1’s corresponding flow action, FA1.
8. Create another data transform, pyDefault, to set D2 to the value passed as parameters.
9. Create a flow rule, Flow1, to execute FA1.

At runtime, enter some text with the '%' or '&' character in it.


Root Cause



The root cause of the problem is that the events executor does not support createNewWork action to escape the parameters.
​To fix this, the code need to be enhanced "to stop decoding" and "enable encoding" for create new work action.

Resolution



Apply HFix-26395.

Published March 9, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us