Discussions
SuiteWorld is the largest annual gathering of the NetSuite community! It will be held in Las Vegas on October 6-9, 2025. Our customers and partners look forward to SuiteWorld every year as a place to hear the latest from NetSuite, get hands-on learning, and connect with each other. 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.