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
How to set workflow fields in a Custom Action SuiteScript 2.0?
I have created a workflow to Convert a Lead into a Partner or into a Contact with two buttons. WORKFLOW: Lead Conversion
At the moment I'm completing the conversion to Partner. To create the new Partner record I needed to use a Custom Action (with SuiteScript 2.x). This was required to be able to grab the Address subsists since sublist are not accessible via workflow with a Create (or Goto) Record action. The script simply copy the Lead into a new Partner Record with all the addresses properly set in the Address sublist. CUSTOM ACTION: Create Partner With Address
Everything works perfectly but now I need to access the the newly created record with a Go to Record Action that need to position to that record for further developments.