Support Article
DT runs differently on offline mobile application and desktop
SA-43678
Summary
Data transforms evaluate differently on a desktop browser when compared to an offline mobile application. Specifically, an 'undefined' property evaluates as equal to string '0', when evaluated offline.
Error Messages
Not Applicable
Steps to Reproduce
- Set up a data transform to execute on the load of a flow action.
- Set up a condition in the data transform: if .MyProp == "0" then set TargetProp to "Hello World".
- Test this use case on a desktop browser and on a custom mobile application.
Root Cause
A defect in Pegasystems’ code or rules. Expressions were evaluated incorrectly in the translateExpression function of pzpega_process_expression.js.
Resolution
Apply HFix-37068.
Published December 11, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.