Feedback

  • Contents
 

Reco Query Simulator Script State

This Reco tool queries the identifier of the current state in the simulation script. It also returns the <CustomData> child element if the <State> element has one. Custom data is very useful to control the test or embed expected results in the simulation script.

Inputs

Interaction

Identifier of the simulated interaction.

Outputs

Current State

Identifier of the current state in the simulation script ('id' attribute of the <State> element). This will be an empty string if the <State> element doesn't have an 'id' attribute.

Custom Data

<CustomData> child element of the current <State> element in the simulation script. This will be a NULL node if the <State> element does not have a <CustomData> child element.

Exit Paths

Success

This path is taken if the simulated interaction successfully queried. 

Failure

This path is taken if there is an error querying the simulated interaction. This usually means that the interaction has either already been disconnected or it's not a simulated interaction.