RE: Trigger & script - get updated values (CurrentEntity) before save?
Hi,
I only use the below to check if a value is "Sold" or "Lost", not using "SaleStatus" anymore, since the below always updates correctly:
// Where "-1" is "Lost" and "-2" is "Sold".
if( eventData.getInputValue( "SaleEntity.Rating.Id" ) == "-1" )
// Do something