workflow
For information about developing workflow SDF custom objects, see Workflows as XML Definitions.
In addition to the fields listed in this topic, you can set a value for a custom field.
Feature Dependencies
-
WORKFLOW
Attributes
Name |
Type |
Required / Optional |
Description |
---|---|---|---|
scriptid |
string |
Required |
This attribute value can be up to 40 characters long. The default value is ‘customworkflow’. |
Fields
Name |
Type |
Required / Optional |
Description |
---|---|---|---|
name |
single-select list |
Required |
This field accepts references to the string custom type. |
recordtypes |
multi-select list |
Required |
You can specify multiple values by separating each value with a pipe (|) symbol. This field accepts references to the following custom types: For information about other possible values, see generic_standard_recordtype. |
description |
string |
Optional |
|
initcontexts |
multi-select list |
Optional |
You can specify multiple values by separating each value with a pipe (|) symbol. For information about possible values, see execution_context. |
initeventtypes |
multi-select list |
Optional |
You can specify multiple values by separating each value with a pipe (|) symbol. For information about possible values, see workflow_eventtype. |
initsavedsearchcondition |
single-select list |
Optional |
This field accepts references to the savedsearch custom type. |
initsavedsearchfilter |
single-select list |
Optional |
This field accepts references to the savedsearch custom type. |
inittriggertype |
single-select list |
Optional |
For information about possible values, see workflow_triggertype. |
initoncreate |
boolean |
Optional |
The default value is F. |
initonvieworupdate |
boolean |
Optional |
The default value is F. |
initlocalizationcontext |
multi-select list |
Optional |
You can specify multiple values by separating each value with a pipe (|) symbol. For information about possible values, see countries. |
isinactive |
boolean |
Optional |
The default value is F. |
islogenabled |
boolean |
Optional |
The default value is F. |
releasestatus |
single-select list |
Optional |
Note: The NOTINITIATING status has replaced the NOTRUNNING status. Although NOTINITIATING is used for new objects created in NetSuite, the NOTRUNNING status is still supported in SDF for backward compatibility. For information about possible values, see workflow_releasestatus. The default value is 'NOTINITIATING'. |
runasadmin |
boolean |
Optional |
The default value is F. |
keephistory |
single-select list |
Optional |
For information about possible values, see workflow_keephistory. The default value is 'ONLYWHENTESTING'. |
Structured Fields
Structured fields are elements that usually contain subfields or groups of fields. They are similar to regular fields but have their own embedded structure. The following structured fields are supported: