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

Parse Rule Not Parsing to Time Of Day Properties

SA-34854

Summary



ParseXML rule parsing inbound JMS service does not properly format properties for the clipboard. The incorrect mapping causes agents to execute at unexpected times.


Error Messages



Not Applicable

Steps to Reproduce

  1. Create property of type TimeOfDay.
  2. Do ApplyParseXML rule to into this property.
  3. Sample XML Steam :"<pyDefault><TimeTest>16:00:00</TimeTest><TestText>abc</TestText></pyDefault>"
  4. In the clipboard, it will update as 16:00:00
  5. Compare time and it gives abrupt results on this property.


Root Cause


A defect in Pegasystems’ code or rules: If we update the same property via UI, in clipboard, it updates as 160000. But when we parse, it updates as 16:00:00.
Due to this the time comparison is returning incorrect results.



Resolution



Perform the following local-change:

Resetting the same property gives the correct result.



Suggest Edit

Published March 26, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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