on 11-02-2018 6:24 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.