Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
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.