MR
05/06/2020, 2:35 PMrecord.submitFields({
type: record.Type.SCRIPT_DEPLOYMENT,
id: data.id,
values : {
loglevel : 'ERROR'
}
});
This gives me an error of: "code":"USER_ERROR","details":"Please enter value(s) for: Role ID"
I am guessing this is because most of these scripts are set to Current Role for the Execute As Role field? I have had the above record.submitFields() call work when hard-coding in an id of a script I wrote with a different Execute As Role field value. Anyone have any ideas about this? Will it even be possible to mass update these scripts if the Role is Current Role? Thanks!aaz
05/06/2020, 2:38 PMMR
05/06/2020, 2:44 PMSandii
05/06/2020, 2:45 PMignoreMandatoryFields
to your submitFields
callMR
05/06/2020, 2:54 PMSean Murphy
05/06/2020, 3:07 PM