Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Custom process- Insert & update the record at the same time (2 Comments)

$
0
0

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 

  1. Incident creation time --->10/09/2017 2.53AM
  2. Incident update time--->10/09/2017 2.53AM
  3. Assigned agent group/name--->Admin/X 
  4. ref # --10232
  5. 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

  1. Incident creation time --->10/09/2017 2.53AM
  2. Incident update time--->10/09/2017 3.53AM
  3. Assigned agent group/name--->Admin/X 
  4. ref # --10232
  5. Custom object id-1
  1. Incident creation time --->10/09/2017 3.53AM
  2. Incident update time--->10/09/2017 3.53AM
  3. Assigned agent group/name--->Admin/Y
  4. ref # --10232
  5. 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


Viewing all articles
Browse latest Browse all 2504

Trending Articles