Workflow

The workflow has at least two nodes. The first should be for context validation and the second for content validation. A sample XML workflow configuration is shown here:
<?xml version="1.0" ?>
<workflowDescriptor name="UserValidationWorkflow">
  <nodes>
    <node name="ValContextNode"/>
    <node name="ValContentNode"/>
  </nodes>
  <connections>
    <connection srcName="ValContextNode" dstName="ValContentNode" 
                results="FAILURE"/>
    <connection srcName="ValContextNode" dstName="ValContentNode" 
                results="SUCCESS"/>
  </connections>
</workflowDescriptor>