Skip to main content
Skip table of contents

DigEraseSoftDelete Workflow

This workflow soft-deletes all the entries from a table/tables which are matching the configured conditions.

The workflow is usually configured via a Workflow Scheduler which takes care of instantiating a workflow based on a schedule. Please see Configuring Workflow Scheduler for more information.

Workflow arguments

Name

Type

Description

ProtocolEnabled

System.Boolean

Write verbose messages to Logs. Default: True

TestOnly

System.Boolean

Simulates deletion. Default: True

TableIds

System.String

TableIds for which the workflow has been created.

IncludeProtected

System.Boolean

If True, allow to soft-delete entries that are marked delete protected.

Default: False

EntryOlderThanDaysIfProtected

System.Int32

Soft-delete entries that are delete protected, without deletion date and older than the specified amount of days.

Disabled when set to -1.

Default: -1

EntryOlderThanDaysIfUnprotected

System.Int32

Soft-delete entries that are not delete protected, without deletion date and older than the specified amount of days.

Disabled when set to -1.

Default: -1

EntryDeleteDateOlderThanDays

System.Int32

Soft-delete entries that have a delete date that lies in the past for more than the value specified

Disabled when set to -1.

Default: 14

Examples

  • Soft-delete entries that are delete protected, without deletion date and older than 30 days and entries that are not delete protected, without deletion date and older than 90 days

    IncludeProtected = True
    EntryOlderThanDaysIfUnprotected = 30
    EntryOlderThanDaysIfProtected = 90
    EntryDeleteDateOlderThanDays = -1

  • Soft-delete entries when the deletion date is reached

    IncludeProtected = True or False (as you like)
    EntryOlderThanDaysIfUnprotected = -1
    EntryOlderThanDaysIfProtected = -1
    EntryDeleteDateOlderThanDays= 0

  • Soft-delete entries when the deletion date is reached or entry is older than 45 days

    IncludeProtected = True or False (as you like)
    EntryOlderThanDaysIfUnprotected = 45
    EntryOlderThanDaysIfProtected = 45
    EntryDeleteDateOlderThanDays= 0


Use CaseIncludeProtectedEntryOlderThanDays
IfUnprotected
EntryOlderThanDays
IfProtected
EntryDeleteDate
OlderThanDays
DAVID defaultFalse-1-114
Older than n daysTrue3090-1
Delete date reachedTrue-1-10
Delete date reached or older than n daysTrue45450

Logic: IncludeProtected AND (EntryOlderThanDaysIfUnprotected OR EntryOlderThanDaysIfProtected OR EntryDeleteDateOlderThanDays)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.