Suitescript 2.0 – NetSuite Assistant – Assistant.sendRedirect

I’m in the process of writing a NetSuite Assistant script that will guide the user through entering some information into NetSuite and then the script will automatically create some records for them.  I want the assistant when finished to redirect to one of the records it creates.  I can accomplish this via the redirect module, but one thing I’m noticing is that when I do that if I open up the assistant again it is acting like the assistant didn’t complete and the fields have the values in them form when I was first using the assistant. This isn’t what I want to happen.  I want the assistant to act like a brand new instance if I open it up again.  I see there is a method in the Assistant object called “sendRedirect”.  The documentation NetSuite provides isn’t very helpful on how this is supposed to work.   Here is the documentation NetSuite provides. Any help would be greatly appreciated.

Suitescript 2.0 - NetSuite Assistant - Assistant.sendRedirect

Rookie Asked on August 26, 2022 in SuiteScript.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Become a Sponsor   Become a Sponsor