SuiteScript Tutorial - Workflow Action Script | What is Workflow Action Script | Workflows NetSuite

Описание к видео SuiteScript Tutorial - Workflow Action Script | What is Workflow Action Script | Workflows NetSuite

SuiteScript Tutorial - Workflow Action Script | What is Workflow Action Script | Workflows NetSuite

SuiteScript 2.x Workflow Action Script Type
Workflow action scripts allow you to create custom Workflow Actions that are defined on a record in a workflow. Workflow action scripts are useful for performing actions on sublists because sublist fields are not currently available through the Workflow Manager.

Workflow action scripts are also useful when you need to create custom actions that execute complex computational logic that is beyond what can be done with the built-in actions


Before using this script, the following must be done:

Ensure that the script returns a value. You can specify this on the Parameters tab of the Script record page.

In SuiteFlow, create a workflow field. The field should be of the same type as the return parameter of the Workflow Action script.

Within a state, add the custom action (this is the Workflow Action script).

Add the return value from the Workflow Action script to the Store Result In field. This field is found in the custom action’s Parameters. See Storing a Return Value from a Custom Action Script in a Workflow Field.

onAction(scriptContext)
Defines a Workflow Action script trigger point.

⏱️⏱️VIDEO CHAPTERS⏱️⏱️

00:00 - Intro
00:15 - Create a Workflow
02:00 - Adding a Standard Workflow Action
03:33 - Limitations on Standard Workflow Actions
04:18 - What is Workflow Action Script Suitescript
04:35 - Limitations on Sublist Standard Workflow Actions
05:52 - Limitations on Workflows
06:15 - Identify the Custom Workflow Action and Standar Actions
07:00 - Create Custom Workflow Action Script in Visual Studio Code
08:20 - Create Script Record for Workflow Action Script
08:40 - Create Parameters/Return Type in Workflow Action Script
09:47 - Create Script Deployment for Workflow Action Script
10:50 - Adding Custom Workflow Action Script in workflow
12:15 - Adding State Field in Workflow
13:50 - Workflow Action Script Coding
14:45 - Testing Workflow Action Script

#netsuite #suitescript

Комментарии

Информация по комментариям в разработке