Versions Compared

Key

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

...

Click on an element to view its details along with sub element details if any.

Anchor
Top
Top

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

...

Back to Top ^

...

<scxml> 
Anchor
scxml
scxml

XML Syntax<scxml xmlns="" version="" initialstate="">
Description

This is the element that contains the new, SCXML-based configuration.

...

SCXML is one of many standards supported by the WSO2 Governance Registry. Read more on Supported APIs & Standards for a complete list of standards supported by WSO2 Governance Registry.

Up to this point of the configuration, there can be only one of each of the elements described above. They all provide meta data about the lifecycle (name, class, and other information). The elements that appear after this one contain the actual configuration.

...

The scxml element has 3 attributes:

AttributesDescription
xmlns 
version 

Type 
Default Value 
Fixed Values 
Mandatory/Optional 
Attributes of the Element
AttributeDescriptionTypeDefault ValueFixed ValuesMandatory/OptionalNotes
xmlns      
version      
initialstate

Defines the initial state of the lifecycle. The initial state does not have to be the first state of the configuration.

Also, by changing the value of this attribute, a user can quickly modify the initial state and the flow of the lifeCycle.

...

     
Sample Implementations
Code Block
languagehtml/xml
<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" initialstate="">

...