Marc-André Bouchard
03/11/2025, 8:54 PMsubmitFields()
. I have verified, using my browser's find feature, that the record type name is correct, the field name is correct, the options are correct down to the case, everything. Here's an anonymized example:
record.submitFields({
type: "customrecord_my_thing",
id: 1234,
values: {
"custrecord_my_field": "This is a test."
},
enablesourcing: false,
ignoreMandatoryFields: true
});
That's right, down to manually specifying the internal ID of the record I want to update. I confirm that the script runs, and it does execute the submitFields()
...
...And nothing happens.
The record doesn't get updated. There isn't even a history entry in the System Notes. Yet the call executed and even returned the ID of my record.
What in the world could be causing this? It's like this is failing silently..NickSuite
03/11/2025, 8:57 PMMarc-André Bouchard
03/11/2025, 9:00 PM