Question

How to customize Audit log fields in work object

Hi Team,

We have a business requirement to customize Audit log in Work object. It should be like below.

Item created. - pyUsername

Status changed to Pending-ReportGeneration - System

Assigned to WorkBasket to ' complete task - System

Case has been approved at QA Stage - pyUserName

Please share any suggestion how to implement this.

***Edited by Moderator: Lochan to update platform capability tags***

Comments

Keep up to date on this post and subscribe to comments

June 25, 2019 - 6:32am

Hello,

Can you work with Add-History method or is it not sufficient?

June 25, 2019 - 6:41am

Requirement is User name should be displayed only when user perform any action otherwise it should be "System".

Item created. - Prahlad Gupta

Status changed to Pending-ReportGeneration - System

Assigned to WorkBasket to ' complete task - System

Case has been approved at QA Stage - Prahlad Gupta

 

Can you explain in Details. How to get different performer name for different row in audit log?

 

June 26, 2019 - 4:09am
Response to PrahladG

Hello,

I'm not sure to fully get your point. The "performer name" is the user who actually did the work because it was assigned to it. And sometimes it is "System" for example when an SLA action is triggered.

June 27, 2019 - 3:52am

In attached screenshot you can verify once Case has been approved at any stage there will be some rows added in Audit log where performed by will be User name who has approved this case.

If you see in screen shot there are 4 rows added in this case when case has been approved. Here i want to display user name only for "Case has been approved at Pre-Evidence" and in remaining rows performed by should display "System".

Is this can be possible?