Modules

filter

 

Objects/Functions

module (N/ui/serverWidget)

SuiteScript 2.0

Assistant.getNextStep()

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Assistant.getNextStep() for more information.

N/ui/serverWidget Module
Assistant.getNextStep()
Method Description: Gets the next step corresponding to the user's last submitted action in the assistant. If you need information about the last step, use Assistant.getLastStep() before you use this method.
Returns: serverWidget.AssistantStep object
Supported Script Types: SuiteScript 2.0 Suitelet Script Type and SuiteScript 2.0 User Event Script Type (beforeLoad(scriptContext))
Governance: None
Module: N/ui/serverWidget Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Assistant.getNextStep()

Example:

// Code Example 1
//Add additional code
//...
var assistant = serverWidget.createAssistant({
title : 'Simple Assistant'
});
//...
var nextStep = assistant.getNextStep();
//...
//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4333467641.html