Hello all
Here is my situation:
I have collaborators working on TableFoo on a certain amount of items. When they are done on an item, they change the status and other collaborators take over on it. This other team is working on TableBar
To ease the process, I need to add an Automation action that looks for this status change and creates a record in TableBar whenever it’s triggered.
Problem is, one of the field I need to transfer over is a MultiSelect Field and when I use the createRecordAsync()
function as follow, I receive an error
let newRecordID = await TableBar.createRecordAsync({
"Tags":TableFooRecord.getCellValue("Tags"),
});
The error is obviously that the “Tags” field of TableBar does not have the same choices as TableFoo.
I read that the Automation is not able to use ‘typecast = true’.
So I thought “fine, I’ll just add step that updates the option of this field in TableBar to have all from TableFoo and I’ll be good”.
Turns out that the methods to do this specific operation multipleSelectField.updateOptionsAsync()
return the following error on an Automation script:
Error: Cannot update field config from scripting automation
at main on line 12
So, is there a way to update multiselect choices list in the Automation? I would like to stick within this is the only way to perform “triggered” script. If I don’t use it, I would have to perform those scripts manually.
Thank you very much