Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • <aspect>
  •       <configuration>
  •            <lifecycle>
  •                <scxml>
  •                     <state>
  •                          <datamodel>
  •                               <data>
  •                                     <item name="" forEvent=""> <item>
  •                                           <permissions>
  •                                                 <permission roles=""/>
  •                                           <validations>
  •                                                 <validation forEvent="" class="">
  •                                                       <parameter>
  •                                     <js forEvent="">
  •                                           <console function="">
  •                                                 <script type="text/javascript">
  •                                           <server function="">
  •                                                 <script type="text/javascript">
  •                                     <execution forEvent="" class="">
  •                                           <parameter name="" value=""/>
  •                                     <ui forEvent="" href=""/>
  •                          <transition event="" target=""/>

...

<data> 
Anchor
data
data

XML Syntax <data name="">
Description

Custom data elements (according to the SCXML specification) serve to define check items, transition permission, transition validations, transition scripts, transition executions, and transition UIs. This element describes the data of its child elements.

Type 
Default Value 
Fixed Values 
Mandatory/Optional 

...

Sample Implementations

 

Back to Top ^

 

<item name="" forEvent="">

These elements contain the check items for each state. There can be more than one of these elements.

...

<item> 
Anchor
item
item

XML Syntax 
Description

 

Type 
Default Value 
Fixed Values 
Mandatory/Optional 
Attributes of the Element
AttributeDescriptionTypeDefault ValueFixed ValuesMandatory/OptionalNotes
nameDefines the name of the check item.

Governance Registry allows

...

to define check items

...

for each transition.

...

     
forEventDefines whether the check item is required for a specific transition. A check item can be required for more than one event

...

, in which case, a user can give a comma (",") separated list for the forEvent attribute. Null : Keeping the forEvent attribute empty means that a specific check item is not required for any transition event.   
Sample Implementations

 

Back to Top ^

...

 

 

 

<permissions>

The permissions element defines permissions for that specified action. A permission element can hold more than one child element which defines permissions. Under check items, the permissions element defines the users that have the capability of checking (check/uncheck) that check item. If a user does not have permissions to check a check item, then the management console will display that specific item in disabled mode. The idea behind this is to let the user know that there are some more check items in that state, but that he or she does not have permission to check them (so as to avoid user confusion).

...