ObjectDelete

You can use this function for Optiva Workflows.

Purpose

The ObjectDelete function deletes the targeted object.

If the targeted object supports logical delete, the object is not deleted from the database and the logical_delete column will be set with 1.

If the targeted object does not support logical delete, the object is deleted from the database.

This function can be run to delete an object even if the current user does not have security access to it.

Syntax

Function ObjectDelete(objectSymbol As String, objectKey As String) As Long
This allows deleting of an object via workflow. If you leave out the arguments, they default to the current object’s symbol and code.