0 votes

I have a custom command that is invoked by a business rule.

I need to temporarily disable this custom command from running, however in testing I see that even though the custom command is disabled it is still executing.

Is this normal?

by (370 points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello,

Yes, this is normal. Disabled Custom Commands cannot be run manually (for example, using the Administration Console or the Web interface), but can still be executed as a part of Business Rules, Scheduled Tasks and other Custom Commands. Try removing the action that runs the Custom Command from your Business Rule.

0

Thank you

0

Alternately, I would think you could remove the object(s) from the Activity Scope so it doesn't affect anything.

0

Hello,

Kikaida, probably, you've confused Custom Commands with Scheduled Tasks or Business Rules. Custom Commands don't have any Activity Scope.

Related questions

0 votes
1 answer

Hello, I've setup an Business Rule with trigger after creating user object. I deal inside with multiple types of objects (Employee-, Shared Mailbox-, Admin-Accounts,..), ... and screenshot about my current config. thank a lot in advanced best regards R.Aich

asked May 16, 2022 by R.Aich (20 points)
0 votes
1 answer

I've modified the script here https://www.adaxes.com/script-repository/import-users-to-be-deprovisioned-s3.htm to do bulk deprovisioning of accounts via a .csv file. It ... share and folder. Why is this throwing this error? They path works in file explorer.

asked Mar 26, 2021 by johnsonua (390 points)
0 votes
1 answer

Dear Support, is it possible to run external applications, for example "Star-Process cmd.exe ... " via initiator account, not service one? For example to implement a ... object, so that cmd windows opens on the initiators workstation. Thank you for advise!

asked Sep 27, 2019 by Dmytro.Rudyi (920 points)
0 votes
1 answer

Hello, I'd like setup a new custom command on the Administrator dashboard that would run the following tasks against a disabled user account simultaneously. Enable their account ... the email when using the %unicodePwd% value. Is there a workaround for this?

asked Apr 23, 2020 by sirslimjim (480 points)
0 votes
1 answer

Hi, I followed this example: https://www.adaxes.com/sdk/IAdmTop6.html, but because the Custom Command is disabled, I get the following error message: System.Management.Automation ... if I enable the Custom Command. I am using Adaxes 2018.2 Best Regards Martin

asked Feb 19, 2020 by Martin (150 points)
3,589 questions
3,278 answers
8,303 comments
548,107 users