Please help me with this
1. I have a Custom Record
2. When the record is edited and saved, a User Event AfterSubmit triggers a Scheduled Script.
3. The Scheduled Script does some calculations and sets a value field on the Custom Record and saves the record.
How can I avoid the Step 3 to trigger again the Step 2?
b
battk
05/31/2024, 10:36 PM
easiest way is to have an ignore checkbox
battk
05/31/2024, 10:36 PM
you can be more clever with things like checking your field for a change in value if you want to avoid a checkbox
battk
05/31/2024, 10:38 PM
there are more general things like the script audience if you want more broad control
e
Edgar Valdes
05/31/2024, 10:41 PM
Thanks @battk
Edgar Valdes
05/31/2024, 10:53 PM
Checking for different values was the trick. If they are the same, don't save again the record.