You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

21: Application Composer: how to get the old and the new field value inside a Server Script Trigger

Accepted answer
edited Mar 7, 2019 9:03AM in Quality 6 comments


My scope is to set the Description field value of a Quality Issue

 - with "Issue Name was just updated" value when the Quality Issue Name was just manually changed
 - or with "Issue Name was updated in the past" value when the Quality Issue Name still the same (during a Quality Issue update)

To do it, I went to Application Composer -> application “ERP and SCM Cloud” -> Standard Objects -> Quality Issue -> Server Scripts -> Triggers -> Object Triggers > Add a New Trigger:
Trigger: BeforeUpdate
Trigger Name: BeforeUpdate_Description

In Trigger Definition I have to check if the old value of Quality Issue Name is different from the new value of Quality Issue Name. Is it a way to do it?

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!