remove (object) from (variable)

The remove construct removes an item from a list.

Purpose

You use this construct in the action part of a rule to remove an object from a list of objects.

Syntax

  • In decision models:

    remove <object> from decision
  • In task models:

    remove <object> from <variable>

Description

The <object> specifies the object that you want to remove. The list from which you want to remove this object corresponds to the type of the decision node output, which must be a list.

Example

The following action removes a race from the list of races of the decision.

remove race from decision;