We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Is it possible to find out which user (username) deleted a workflow from Alteryx Gallery?

EN6924
10 - Fireball

Hi,

 

Is it possible to find out which user (username) deleted a workflow from Alteryx Gallery? Is there a custom workflow that I can use?

 

Please help.

1 REPLY 1
EdP
Alteryx
Alteryx

This is not a feature of the product, but if you install Robo3T and connect to the AlteryxGallery database you can find this information in one of the collections

Run the following query::

 

    db.getCollection('auditEvents').find({Entity:'AppInfo',Event:'update',NewValues:/isDeleted":true/})

 

The above query finds all results in the auditEvents collection where the Entity is AppInfo (workflows) that were updated to have their isDeleted flag set to true - this is how workflows are deleted by the Gallery.

 

You can then use the userId field to query against the users collection to find the details of this user (USER_ID should be replaced with the value of userId):

 

db.getCollection('users').find({"_id" : ObjectId("USER_ID")})

----

To connect Robo3T to AlteryxGallery, see:  https://community.alteryx.com/t5/Alteryx-Server-Knowledge-Base/How-to-Connect-to-an-Embedded-Server-...

I hope this helps!

Ed Phelps
Sr CSE
Alteryx
Labels
Top Solution Authors