Topic by Muthulakshmi Muthaiah
Hi All,
I have a requirement as whenever the incident "Assigned" value changes, it should fetch the details from incident object and insert it to the custom object as a new record & update the existing record.
For example-->Incident has been created and assigned to agent "X". At that time, I have fetched the values from incident and update those values to the custom object as a new record
- Incident creation time --->10/09/2017 2.53AM
- Incident update time--->10/09/2017 2.53AM
- Assigned agent group/name--->Admin/X
- ref # --10232
- Custom object id-1
If the agent "X" assigns the incident to another agent "Y" means, I need to update the existing custom object values of Incident update date alone and also I need to create a new record with the new details as below
- Incident creation time --->10/09/2017 2.53AM
- Incident update time--->10/09/2017 3.53AM
- Assigned agent group/name--->Admin/X
- ref # --10232
- Custom object id-1
- Incident creation time --->10/09/2017 3.53AM
- Incident update time--->10/09/2017 3.53AM
- Assigned agent group/name--->Admin/Y
- ref # --10232
- Custom object id-2
I am able to create a new record whenever the incident assigned field changes but I can't update the existing record date of Incident update time. Kindly give some idea on this.
Thanks,
Muthulakshmi