Allow Events

Name in migrated code: AllowUserAbort
Location in migrated code: OnLoad

Migrated Code Example

The Batch Tasks group is enabled in a BusinessProcess class (Batch task)

protected override void OnLoad()
{
     AllowUserAbort = true;
} 

Condition as an expression:

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

Property Values

True or false. The default is false which is Allow events = No in Magic


Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com