Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Pass parameters into Workflow Action Script?
Hi all,
I'm creating a workflow that will fire on a transaction import, then run a saved search for the newly-created transactions. The search results will include information about the transactions as well as the customers for those transactions. Finally, I want to run a mass update to populate some fields on the customer record with transaction data from the saved search results.
Right now I'm working on the middle step - running the saved search. I'm creating a custom Workflow Action, and I'd like to be able to pass the saved search internal ID into the Workflow Action Script. So if, in the future, we decide to create a different saved search, I can just change a parameter (maybe on the script record?) rather than having to hardcode the ID into the script. Is this possible?