remove (an object) from (a list)

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 collection of objects.

Syntax

remove <an object> from <a list>

Description

The remove <an object> keyword specifies the object that you want to remove. The from <a list> defines the collection from which you want to remove the object.

Example

The following rule removes an attendee when the attendee is unable to attend a session.

when an unable to attend event occurs, called 'the event'
then
    remove the attendee of 'the event' from the invited attendees of 'the session';