Versions Compared

Key

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

...

  • <aspect>
  •       <configuration>
  •            <lifecycle>
  •                <scxml>
  •                     <state>
  •                          <datamodel>
  •                               <data name=""> <data>
  •                                     <item name="" forEvent="">
  •                                           <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=""/>

...

This element has no attributes.

Back to Top ^

...

<data> 
Anchor
data
data

 

<data name="checkItems/transitionValidations/transitionPermission/transitionScripts/transitionExecution/transitionUI">

...

iconfalse
XML Syntax 
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 
Attributes of the Element
AttributeDescriptionTypeDefault ValueFixed ValuesMandatory/OptionalNotes
name

Transition Validators, Transition Executors, Transition User Interfaces and Transition Scripts are one of many well-defined extension points supported by the WSO2 Governance Registry. Read more on Supported Extension Points for a complete list of extension points supported by WSO2 Governance Registry

...

.

...

This element describes the data of its child elements.

...

...

The user can define only one such element of each kind, since the underline implementation will ignore multiple elements and take only one into consideration.

...

  
  • checkItems - If the user is defining check items as its child elements.
  • transitionValidations - If the data element defines transition validations.
  • transitionPermission - If the data element defines transition permissions.
  • transitionScripts - If the data element describes the transition scripts.
  • transitionExecution - If the data element defines programmable executions for transitions.
  • transitionUI - If the data element defines custom UIs accepting user input for transitions.
  
Sample Implementations

 

Back to Top ^

...

 

<item name="" forEvent="">

...