Create Record Action
Use the Create Record action to create a new record in NetSuite. The record can be a standard NetSuite record or a custom record. The record does not need to be the same record type as the base record type for the workflow. You can use this action, to create a follow up record that is part of a business process. For example, a workflow with lead as the base record type, can use this action to follow the creation of a new lead instance, with the creation of a call record, to ensure the lead is pursued.
Workflow definitions require a trigger configuration that initiates the workflow, executes an action within a workflow or transitions the workflow from one state to another.
-
For more information about which workflow triggers the Create Record action supports, see Workflow Triggers Quick Reference.
-
To understand when different workflow triggers execute and which trigger you should use, see Workflow Triggers and the SuiteFlow Trigger Execution Model.
Create Record Action Parameters
When you configure the Create Record action, you specify the record type and the field values of the new record instance.
The following table describes the Create Record action parameters:
Parameter |
Description |
---|---|
Record Type |
Type of record the action will create. |
Store Result In |
Workflow or state field where you can store a reference to the created record. To use this option you must first create the workflow or state field. See Workflow Custom Fields Use this field to subscribe to a created record with the Subscribe To Record action. See Creating and Subscribing to a Record. |
Field |
Field values to populate in the record created by the action. The available fields change dynamically depending on the type of record selected in the Record Type dropdown list. For each field, select the field name, set the appropriate properties in the other columns, and click Add. For more information, see Setting Field Values in Action Definitions |
For more information about adding actions to a workflow, including common action properties and conditions, see Action Conditions and Creating an Action.
Create Record Action Guidelines
Use the following guidelines when working with the Create Record action:
-
When configuring the Create Record action, you must set values for all the required fields for the selected Record Type parameter. To verify the required fields, open the record type's create new record screen in the NetSuite UI and note which fields are necessary. If you do not set all required fields, the Create Record action fails.
-
The Create Record action is not available on a Before Record Load trigger for a time entry record.