What is Peach
Installing
Tutorials
Methodology
Introduction
Training
Enterprise
FAQ
Support Forums
Peach 3
Peach Pits
 General Conf
 Data Modeling
 State Modeling
 Agents
  Monitors
 Test
  Publishers
  Loggers
Running
Minset
Peach 2.3

License

Field

The Field element specifies data to replace the default value for an data element in the DataModel.

Attributes:

  • name — Name of the DataModel element [required]

  • value — The value to set

  • valueType — The format in which the default value is expressed. (i.e hex, string, or literal)

Examples

Data used to overwrite Good Afternoon World! with Hello World!
<DataModel name="TheDataModel">
  <Block name="Block1">
    <String name="Key" value="Output: " />
    <String name="Value" value="Good Afternoon World!"/>
  </Block>
</DataModel>

<StateModel name="TheState">
  <State name="initial">
    <Action type="output">
      <DataModel ref="TheDataModel" />
      <Data name="SampleData">
        <Field name="Block1.Value" value="Hello World!" />
      </Data>
    </Action>
  </State>
</StateModel>