Exists Condition

The condition type Exists checks if the data specified in the ApplyTo tag is not null. It is especially useful in conjunction with the SaveAs condition tag.

Example

<Conditions>
  <Or>
    <Exists>
      <ApplyTo>Form.Submit.Field(Name:SWECmd).Value</ApplyTo>
      <SaveAs>Command</SaveAs>
    </Exists
    <Exists>
      <ApplyTo>Form.Submit.Field(Name:SWEMethod).Value</ApplyTo>
      <SaveAs>Command</SaveAs>
    </Exists>
  </Or>
  <Exists>
    <ApplyTo>Command</ApplyTo>
    <SaveAs>PageName</SaveAs>
    <SaveMode>Append</SaveMode>
  </Exists>
</Conditions>