Does LeanIX support setting the value of a custom field from within a calculation?
I’ve a routine that calculates data sensitivity correctly and is working but would now like to record when the last sensitivity calculation ran.
My code is:
// Set the date that this calculation was performed
data.DataSensitivityDateUpdated = Date();
Where DataSensitivityDateUpdated is the custom field and Date() is presumed to return the current date.
The Calculation runs without error, but the custom DataSensitivityDateUpdated field is not updated.
Is the return statement the only way for a Calculation to update a field?