I’m working on a custom script, and I need to use the value of a rollup field. I’ve tried: record.getCellValueAsString("Publishing Breakdown"); inputConfig.items
items is added as a variable which pulls the value from Publishing Breakdown.
I either get null or empty array.
Page 1 / 1
Hey @cportillo,
Is this script being set up within an automation? If so you might want to try input.config() and mapping the value on the right margin. - See image below for further reference.
I’m working on a custom script, and I need to use the value of a rollup field. I’ve tried: record.getCellValueAsString("Publishing Breakdown"); inputConfig.items
items is added as a variable which pulls the value from Publishing Breakdown.
I either get null or empty array.
Hello @cportillo, Rollup fields often return arrays or complex objects. Use record.getCellValue("Publishing Breakdown") instead of getCellValueAsString, then inspect the result—especially if it's an array of linked records or aggregated values. You may need to loop through the array or access nested properties to extract usable data.