Name | Generalization | Documentation |
---|---|---|
CleanupRule | Defines a specific clean up rule. Rules can be expressed in terms of the owner, the owner's user role, the creation date/time, or a combination. Only objects that satisfy all parts of the rule will be deleted. |
Defines a specific clean up rule. Rules can be expressed in terms of the owner, the owner's user role, the creation date/time, or a combination. Only objects that satisfy all parts of the rule will be deleted.
Name | Type | Default value | Documentation |
---|---|---|---|
After | DateTime | [%CurrentDateTime%] | |
Before | DateTime |
Name | Type | Documentation |
---|---|---|
CleanupTestData | Boolean | Use to toggle the cleanup of test data on shutdown. WARNING: This setting should only be enabled when running locally, or against a test database |
Name | Return type | Documentation |
---|---|---|
CleanUpTestData | Void | Java action that deletes objects based on the provided clean up configuration entities. Should be executed before shutdown. |
Java action that deletes objects based on the provided clean up configuration entities. Should be executed before shutdown.
Name | Type | Category | Description |
---|---|---|---|
CleanupRules | List of CleanupTestData.CleanupRule |
Void
Name | Return type | Documentation |
---|---|---|
BeforeShutdown | Void | Set this microflow as the 'BeforeShutdown' microflow, or call this microflow from an existing 'BeforeShutdown' microflow |
SetupCurrentRunBasedCleanupRule | CleanupTestData.CleanupRule | Set up a cleanup rule to delete all objects created during the first run. Call this microflow from your startup microflow. |
SetupOwnerBasedCleanupRule | CleanupTestData.CleanupRule | Set up a cleanup rule to delete all objects owned by a specific user. Call this microflow from your startup microflow. |
SetupOwnerUserRoleBasedCleanupRule | CleanupTestData.CleanupRule | Set up a cleanup rule to delete all objects owned by someone with a specific role. Call this microflow from your startup microflow. |
Set this microflow as the 'BeforeShutdown' microflow, or call this microflow from an existing 'BeforeShutdown' microflow
Void
Set up a cleanup rule to delete all objects created during the first run. Call this microflow from your startup microflow.
Name | Type | Documentation |
---|---|---|
StartupDateTime | DateTime |
CleanupTestData.CleanupRule
Set up a cleanup rule to delete all objects owned by a specific user. Call this microflow from your startup microflow.
Name | Type | Documentation |
---|---|---|
Owner | System.User |
CleanupTestData.CleanupRule
Set up a cleanup rule to delete all objects owned by someone with a specific role. Call this microflow from your startup microflow.
Name | Type | Documentation |
---|---|---|
OwnerUserRole | System.UserRole |
CleanupTestData.CleanupRule