Expand my Community achievements bar.

Show the user who last edited the asset

Avatar

Level 1

1/9/25

Request for Feature Enhancement (RFE) Summary: Currently we are unable to see the user who last modified the asset. There should be field where the user who last modified the asset should be captured.
Use-case:  
Current/Experienced Behavior: Unable to see the user who last modified the asset. Some hard coded value like "dam-workflow-service" is seen for now.
Improved/Expected Behavior: Instead of "dam-workflow-service" username or user email who last modified the asset should be there.
Environment Details (AEM version/service pack, any other specifics if applicable): Prod/Stg/Dev
Customer-name/Organization name: Signify
Screenshot (if applicable):  
Code package (if applicable):  
2 Comments

Avatar

Level 5

1/12/25

Hi @nidhi26 ,

 

The reason why you are getting hard coded value "dam-workflow-service" is this is the service user which is responsible for doing modifications on asset and save the changes to repository.

To get your original name on asset, what you need to do is, you need to get the session from current logged in user instead of "dam-workflow-service" service user. 

1. If workflow is triggering from a servlet, you can get the session from request and you can use that session for saving the changes.

2. If workflow triggered manually/launchers then you need get the session from WorkflowSession object.

 

Avatar

Administrator

2/14/25

@nidhi26 

Thanks for proposing this idea.
This has been reported to the engineering under the internal reference ASSETS-47547. The product team will triage this request to verify feasibility based on the prioritization model. This post will be updated according to Jira's status.
Status changed to: Investigating