"When we send a record from our CRM it is creating/updating with Admin user name , in trail instance its getting updated with the client admin name (i.e my name). is there any option to display/fetch actual user name by whom record is modified in our CRM."
In conclusion, if I screen a name via API how can I add to the audit the user that screened the name?
As observed correctly, if a case is screened or modified, the name reflected in the audit would be the name of the user whose API key and secret was used to screen or modify the case.
As I understand, the client would like to add the name of the actual person (other than the user name whose API key and secret were used to screen or update a case) who screened the case to the audit for tracking the modification made by them.
The answer is that it is not possible to add to the audit events, the name of the user who screened/updated the case. It will always reflect the user name whose API key and secret were used to screen or update a case.
Please find the JSON response for the audit event SCREENED_CASE below:
"actionedByUserName": "Irfan Khan",
Please check the attribute "actionedByUserName" and its value as Irfan Khan. This is the name given to my user in WC1 GUI. Also, notice the attribute "actionedByUserId", its value to integrally associated to my user name.
This is the rationale behind why we cannot add a user name to the audit that does not exist in the list of users in the GUI.
yes custom fields was one of my thoughts, but you will not see that field in the audit. Maybe the client can create an audit at start using the Case id to connect the 2 actions...
I'll discuss this later today.
Thanks for the replies!
I have raised an enhancement request to the product team for the same.
We will have to wait and see if this qualifies as a valid enhancement. Kindly note even if this qualifies as a valid request, the time frame for this to be deployed live would still be long depending on the priority assigned to the request.