Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 761 Bytes

File metadata and controls

31 lines (22 loc) · 761 Bytes

keywords: Task Properties, Behavior Tab, Force,Force Record delete, Force Delete

Name in migrated code: DeleteRowAfterLeavingItIf
Location in migrated code: OnLoad

Migrated Code Example

protected override void OnLoad()
{
+    DeleteRowAfterLeavingItIf(() => true);
}

Condition as an expression:

protected override void OnLoad()
{
+     DeleteRowAfterLeavingItIf(() => ENV.Security.UserManager.CurrentUser.Name == "SUPERVISOR");
}

Property Values

True or false. The default is false which is Force record delete = No in Magic

See Also

UIController DeleteRowAfterLeavingItIf