Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Assistant.isFinished() for more information.
N/ui/serverWidget Module
Assistant.isFinished()
Method Description:
Indicates whether all steps in an assistant are completed.
If true, the assistant is finished and a completion message is displayed. To set the text for the completion message, use the Assistant.finishedHtml property.
Returns:
boolean
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.isFinished()
Example:
// Code Example 1
//Add additional code
//...
var assistant = serverWidget.createAssistant({
title : 'Simple Assistant'
});
//...
if (assistant.isFinished()) {
...
}
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4333493801.html