cancel
Showing results for 
Search instead for 
Did you mean: 

how to identify change of value of element between 2 after modify event before we save object.

former_member427569
Discoverer
0 Kudos

We want to determine value of Object Category based on KUT category field name Function and Each Time we change the Function category value the Incident Category, Service Category, Cause Category and Resolution Category should go blank in Ticket.

For that I need to identify change value of Function field in Root->aftermodify event of Service Request but in that whenever we fill value of Function field and fill the value in Object category via SDK and Incident Category, Service Category, Cause Category and Resolution Category manually if any other field is fill on root level in Ticket , Aftermodify event is trigger again and Incident Category, Service Category, Cause Category and Resolution Category goes blank.
So is there any functionality thorough which I can identify change of value or same value is present in any filed between two aftermodify trigger before saving object.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member427569
Discoverer
0 Kudos

Hi Thomas,

But for storing old value we need to save ticket at least once but we want to old value without saving even once also

we need it between two aftermodify trigger.

Regards,

Kishor Dudhe

julieiloga
Member
0 Kudos

Hi Kishor,

from the time of this issue, did you get a solution, about how to track a changed value of a field without saving? at the AfterModify script?

former_member105365
Participant
0 Kudos

Hi Kishor

You cannot check if a value has been "changed" in the after modify, you can only check if the field is initialized / NULL.

The only way of doing this is to store the old value and then check against it in an IF condition.

Cheers

Thomas