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

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