complexType WorkModelScript
diagram wp_diagrams/wp_p617.png
namespace http://api.brm.n2.tibco.com
used by
element WorkModelScripts/WorkModelScript
attributes
Name  Type  Use  Default  Fixed  Annotation
scriptOperation  WorkItemScriptOperation  required      
documentation
What work item operation is the script for e.g. OPEN, CLOSE, COMPLETE etc...
scriptBody  xs:string  required      
documentation
The body of the script to be run on the specified work item operation.
scriptLanguage  WorkItemScriptType  required      
documentation
The language of the script to be run e.g. JSCRIPT, JYTHON etc...
scriptLanguageVersion  xs:string  optional      
documentation
The version of the language of the script to be run e.g. 2.2.1, 1.2a etc...
scriptLanguageExtension  xs:string  optional      
documentation
The file extension of the language of the script to be run e.g. js, py etc...
scriptTypeID  xs:string  required      
documentation
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.
annotation
documentation
Definition of a work model script
source <xs:complexType name="WorkModelScript">
 
<xs:annotation>
   
<xs:documentation>Definition of a work model script</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="scriptOperation" type="WorkItemScriptOperation" use="required">
   
<xs:annotation>
     
<xs:documentation>What work item operation is the script for e.g. OPEN, CLOSE, COMPLETE etc...</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="scriptBody" type="xs:string" use="required">
   
<xs:annotation>
     
<xs:documentation>The body of the script to be run on the specified work item operation.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="scriptLanguage" type="WorkItemScriptType" use="required">
   
<xs:annotation>
     
<xs:documentation>The language of the script to be run e.g. JSCRIPT, JYTHON etc...</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="scriptLanguageVersion" type="xs:string" use="optional">
   
<xs:annotation>
     
<xs:documentation>The version of the language of the script to be run e.g. 2.2.1, 1.2a etc...</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="scriptLanguageExtension" type="xs:string" use="optional">
   
<xs:annotation>
     
<xs:documentation>The file extension of the language of the script to be run e.g. js, py etc...</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attribute name="scriptTypeID" type="xs:string" use="required">
   
<xs:annotation>
     
<xs:documentation>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.
</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:complexType>

attribute WorkModelScript/@scriptOperation
type WorkItemScriptOperation
properties
use required
facets
Kind Value Annotation
enumeration OPEN
enumeration CLOSE
enumeration COMPLETE
enumeration PEND
enumeration SCHEDULE
enumeration RESCHEDULE
enumeration SYSAPPEND
annotation
documentation
What work item operation is the script for e.g. OPEN, CLOSE, COMPLETE etc...
source <xs:attribute name="scriptOperation" type="WorkItemScriptOperation" use="required">
 
<xs:annotation>
   
<xs:documentation>What work item operation is the script for e.g. OPEN, CLOSE, COMPLETE etc...</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute WorkModelScript/@scriptBody
type xs:string
properties
use required
annotation
documentation
The body of the script to be run on the specified work item operation.
source <xs:attribute name="scriptBody" type="xs:string" use="required">
 
<xs:annotation>
   
<xs:documentation>The body of the script to be run on the specified work item operation.</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute WorkModelScript/@scriptLanguage
type WorkItemScriptType
properties
use required
facets
Kind Value Annotation
enumeration JSCRIPT
enumeration JYTHON
annotation
documentation
The language of the script to be run e.g. JSCRIPT, JYTHON etc...
source <xs:attribute name="scriptLanguage" type="WorkItemScriptType" use="required">
 
<xs:annotation>
   
<xs:documentation>The language of the script to be run e.g. JSCRIPT, JYTHON etc...</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute WorkModelScript/@scriptLanguageVersion
type xs:string
properties
use optional
annotation
documentation
The version of the language of the script to be run e.g. 2.2.1, 1.2a etc...
source <xs:attribute name="scriptLanguageVersion" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>The version of the language of the script to be run e.g. 2.2.1, 1.2a etc...</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute WorkModelScript/@scriptLanguageExtension
type xs:string
properties
use optional
annotation
documentation
The file extension of the language of the script to be run e.g. js, py etc...
source <xs:attribute name="scriptLanguageExtension" type="xs:string" use="optional">
 
<xs:annotation>
   
<xs:documentation>The file extension of the language of the script to be run e.g. js, py etc...</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute WorkModelScript/@scriptTypeID
type xs:string
properties
use required
annotation
documentation
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.
source <xs:attribute name="scriptTypeID" type="xs:string" use="required">
 
<xs:annotation>
   
<xs:documentation>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.
</xs:documentation>
 
</xs:annotation>
</xs:attribute>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy