Define a Delete a Business Object Action
Use the Delete a Business Object Action to delete Business Objects, either the active Business Object or a related Business Object.
For example, administrators can use this Action to perform a record cleanup of Journals, Tasks, etc.
This Action is executed against whichever Business Object is active, either a Business Object association or a Business Object from another Action (Create a New Business Object or Go To a Record) preceding this Action. For example, if the One-Step™ Action is associated with Incident, the Incident Business Object is the active object (this Action runs against Incident). If a Create a New Business Object Action is added to create a Problem record (preceding this Action), the Problem Business Object becomes the active object (the Action runs against Problem).
If the active Business Object changes (example: The Action was initially defined to run against Incident, but a Create a New Business Object Action makes Problem the active Business Object), a warning appears. The Action properties might need to be modified to reflect the newly active Business Object.
To define a Delete a Business Object Action for a One-Step Action:
- Open the One-Step Editor.
- Add a Delete a Business Object Action to the Designer Board.
- Define general properties for the Delete a Business Object Action:
Option Description Name Provide a display name for the Action (this is how the Action is identified within the One-Step Action). Delete current record The Action deletes the active Business Object record (or current group of records, if the One-Step Action is running against a group). Delete related record The Action deletes related Business Object record(s). Then, select a Relationship in the drop-down. The records that are owned by or linked to the active Business Object are deleted by the Action. Prompt before deleting (In application only) The Action prompts Users before deleting the Business Object. This gives Users the option to continue with or cancel the Delete a Business Object Action.
- Define the Annotations for a One-Step Action.
- Click Save.