简体   繁体   中英

What happens to script triggers when I delete the user that made them?

I want to make a username available for someone else named after the old Tech Admin, however they have a ton of triggers running.
If I delete this user, is there a way to preserve these triggers or transfer them. Or are they affected at all with deletion?

From Installable triggers :

Installable triggers always run under the account of the person who created them .

The trigger owner is the user who installed it. There is no way to transfer this ownership.

(Trigger ownership transfer is not possible even if all options are checked when transferring data on user deletion , and even using Data Transfer API ).

Even though I've seen reports ( example ) of triggers running in the background undesirably after the user has been deleted, from my experience, when the user is deleted (either removed from the script or the account is deleted), the trigger stops running, being commonly labeled as Disabled .

Therefore, if you want to delete this account, I'd suggest you to install these triggers again with another account.

File a feature request:

I'd suggest you to file a feature request in Issue Tracker using this template if you want to add the ability to transfer trigger ownership.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM