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.