Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 821 Bytes

File metadata and controls

41 lines (25 loc) · 821 Bytes

keywords: Task Properties, Options Tab, Options, Allow options

Name in migrated code: AllowActivitySwitch
Location in migrated code: OnLoad

Options

Migrated Code Example

protected override void OnLoad()
{
+    AllowActivitySwitch = false;
}

Condition as an expression:

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

Property Values

True or false. The default is True which is Allow Options = Yes in Magic


See Also
AllowActivitySwitch
BindAllowActivitySwitch