Clear

Clear

Table of Contents

Overview

The clear deluge task empties a specified list by permanently removing all its elements.

Syntax

<list_variable>.clear();
ParameterDescription
<list_variable>

List variable which will be emptied.


This task can be used in the following events

When a record is Created
On LoadYes
On ValidateYes
On SuccessYes
On User inputYes
Subform on add rowYes
Subform on delete rowYes
When a record is Created or Edited
On LoadYes
On ValidateYes
On SuccessYes
On User inputYes
Subform on add rowYes
Subform on delete rowYes
When a record is Edited
On LoadYes
On ValidateYes
On SuccessYes
On User inputYes
Subform on add rowYes
Subform on delete rowYes
When a record is Deleted
On ValidateYes
On SuccessYes
Other workflow events
On a scheduled dateYes
During approval processYes
During payment processYes
In a Custom FunctionYes
In an Action item in reportYes

Example

1) The following snippet removes all elements in the specified list

alldays = {"Monday", "Tuesday", "Wednesday", "Thursday", "Friday"};
alldays.clear( );

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohodeluge.com