Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

End section

  • Last UpdatedSep 04, 2024
  • 3 minute read

End conditions determine the way in which a task can be terminated.

  • When the task is running (active), the end conditions are evaluated at every step of the task management according to their order.

  • As soon as an end condition becomes True, the task moves to the state defined for the end: success or failure.

Giving tasks an End condition

Each task should have one or more end conditions.

  • Each end condition can be linked to a scoring rule so that when the task is completed the score increases.

  • You can link the activation and completion of tasks to the start of other tasks to implement the desired plot.

End section

The Ends area of the Scenario Editor is dedicated to ending conditions.

You can add end conditions to the list and rearrange the order of the list.

Icon

Name

Description

Add

Opens the Edit End dialog to enable you to create a new end condition.

Edit

Enables you to modify a selected item.

Delete

Removes the selected item.

Up

Moves the selected item up in the order.

Down

Moves the selected item down in the order.

Edit End dialog

You can edit a condition before adding it to the End Condition list. Click Expand to increase the side of the editing box.

These options appear on the Edit End dialog.

Item

Description

Result

The state that the task moves into, when the condition becomes True.

Condition

A piece of script that checks whether the task has terminated or not. Must result in an SBOOL value.

In This Topic
TitleResults for “How to create a CRG?”Also Available in