Question


CXForward
US
Last activity: 13 Sep 2018 12:50 EDT
GMT format used in audit trail when tracking a DateTime property.
Hi,
We are tracking a DateTime property - DueDate for audit trail. When a value is added or changed for this property, the audit trail is recorded as:
- Added DueDate value '20180510T040000.000 GMT'
- Changed DueDate from '20180510T040000.000 GMT' to '20180518T040000.000 GMT'
We need it to display in user friendly format.
Tried to follow the article:
Not much information provided.
Thank you!
***Moderator Edit: Vidyaranjan | Updated SR details***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution


Pegasystems Inc.
IN
Hi Pramod,
- Added DueDate value '20180510T040000.000 GMT'
- Changed DueDate from '20180510T040000.000 GMT' to '20180518T040000.000 GMT'
These messages are coming from FieldValues. So if try to search pyHistoryMemo , you will get field values for above messages.
When you will open the field Value, you can see several parameters like {1},{2}....
Try to give pxDateTime control for your date time parameter in the similar way shown below:
Hi Pramod,
- Added DueDate value '20180510T040000.000 GMT'
- Changed DueDate from '20180510T040000.000 GMT' to '20180518T040000.000 GMT'
These messages are coming from FieldValues. So if try to search pyHistoryMemo , you will get field values for above messages.
When you will open the field Value, you can see several parameters like {1},{2}....
Try to give pxDateTime control for your date time parameter in the similar way shown below:
Like this you will be able to achieve your requirement.
Please let me know if you are facing any issue.
Thank you
-Abhishek


Pegasystems Inc.
IN
Hi Pramod,
Please modify the Due Date property to Date field in order to display the required field in the below format:
"20180518".
-
Poornachandra Veluri


CXForward
US
Hi Ankit,
The user needs it in "18th May, 2018".


Pegasystems Inc.
IN
Hi Pramod,
There is a OOTB DateTime-Short Control, which you use for the DateTime property .
And also select the format from Presentation tab of the property in section.
Thank you
-Abhishek


CXForward
US
Hey Abhishek,
The above solution did not solve the issue.
-Pramod
Accepted Solution


Pegasystems Inc.
IN
Hi Pramod,
- Added DueDate value '20180510T040000.000 GMT'
- Changed DueDate from '20180510T040000.000 GMT' to '20180518T040000.000 GMT'
These messages are coming from FieldValues. So if try to search pyHistoryMemo , you will get field values for above messages.
When you will open the field Value, you can see several parameters like {1},{2}....
Try to give pxDateTime control for your date time parameter in the similar way shown below:
Hi Pramod,
- Added DueDate value '20180510T040000.000 GMT'
- Changed DueDate from '20180510T040000.000 GMT' to '20180518T040000.000 GMT'
These messages are coming from FieldValues. So if try to search pyHistoryMemo , you will get field values for above messages.
When you will open the field Value, you can see several parameters like {1},{2}....
Try to give pxDateTime control for your date time parameter in the similar way shown below:
Like this you will be able to achieve your requirement.
Please let me know if you are facing any issue.
Thank you
-Abhishek
-
José Luis Laviña


Pegasystems Inc.
IN
In addition to that you can refer below link for field value:


CXForward
US
Thank you Abhishek. It worked! We had to use a custom - non auto generated control though. The auto generated control gave some trouble.


Maantic Inc
US
Can you share your customized control


CollabPartnerz
IN
Could you please share me your custom control configuration.
Updated: 13 Sep 2018 9:08 EDT


CXForward
US
Hi Gayatri,
Hope this helps:
Field Value:
Custom Control:
Regards,
Pramod


Maantic Inc
US
Thanks Pramod