new WorkModelScript()
Definition of a work model script.
Constructs a new WorkModelScript.
The following features are supported:
Members
scriptBody :string
The body of the script to be run on the specified work item operation.
This property holds the value of the 'Script Body' attribute.
Type:
- string
scriptLanguage :tibco.objectapi.brm.WorkItemScriptType
The language of the script to be run e.g. JSCRIPT, JYTHON etc...
This property holds the value of the 'Script Language' attribute.
Type:
scriptLanguageExtension :string
The file extension of the language of the script to be run e.g. js, py etc...
This property holds the value of the 'Script Language Extension' attribute.
Type:
- string
scriptLanguageVersion :string
The version of the language of the script to be run e.g. 2.2.1, 1.2a etc...
This property holds the value of the 'Script Language Version' attribute.
Type:
- string
scriptOperation :tibco.objectapi.brm.WorkItemScriptOperation
What work item operation is the script for e.g. OPEN, CLOSE, COMPLETE etc...
This property holds the value of the 'Script Operation' attribute.
Type:
scriptTypeID :string
The ID of the script type used during the use of complex fields in scripts.
This will either be populated with a task library ID or process ID.
This property holds the value of the 'Script Type ID' attribute.
Type:
- string