Hi fellow developers,
I'm developing an application for an organization where employees can subscribe to handset devices and submit up to 5 handset requests. My objective is to ensure that the Approval history table is accurately updated whenever the HR role user(Approver) performs any action other than Approve or Reject from the total of 5 actions available. the other actions are Request for more Information, Request for correction, Reassign.
Currently, the Approval history is updated correctly when we perform Approve action. the table consists of 7 columns as “Task Number”, “From User”, “To User”, “Assigned Date”, “Action Date”, “State" & “Comment”. In the table, the employee's name is displayed in the “From User” column, HR name in the “To User” column and "APPROVE" in the "State" column.
After that there are other two workflow users' approval to complete the submitted request. Please find the attached Approval history table screenshot for your reference here.

However, when the HR role user reassigns the request to the Master Admin role, who also has the mentioned set of actions, there is an issue with the Approval History. Instead of displaying the employee's name in the "From User" column, it shows the HR name as if the HR submitted the request. The desired behavior is to display the employee's name in the first row and later show the HR name in the "From User" column and the corresponding approver's name in the "To User" column. Unfortunately, this is not happening correctly.
I'm currently debugging the issue and trying to locate where the Approval History table in the application data is stored. It's worth mentioning that this table is populated through ADP.
Apologies for the lengthy paragraph, and thank you for taking the time to read this. I would greatly appreciate any assistance you can provide.
Best regards,