Free Trial

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Retore deleted WF from the mongoDB

asma_rez
8 - Asteroid

Hello Experts

Some WF has been deleted from the USer private studio , when I query MongoDB by :

 

db.getCollection('appInfos').find({"CreatedBy": 'User_object_id'})

 

I can clearly find all the WF for that user (deleted and not) is it any tip to restore those WF ?

 

P.S : I don't have a recent DB backup

 

Thanks and Regards

3 REPLIES 3
DiganP
Alteryx Alumni (Retired)

@asma_rez I highly urge you to take a backup of the mongodb before tampering with it. Also, making changes to the mongodb is not supported.

 

Having said that, you should just be able to turn the "IsDeleted" tag to false and the workflow will appear back.

 

Mongodb.PNG

 

This is found in the Alteryx Gallery db -> appInfos collection -> look for your workflow that you want to 'not delete'.

Digan
Alteryx
joshuaburkhow
ACE Emeritus
ACE Emeritus

@asma_rez Did this solve your issue? If so please mark it as solved so others can see it on the community

Joshua Burkhow - Alteryx Ace | Global Alteryx Architect @PwC | Blogger @ AlterTricks
levell_x_dunn
10 - Fireball

It's hit and miss, sometimes it will show up and sometimes it doesn't. more often then naught it doesn't so I think it's deeper then just changing the value for it to show up on the gallery. Which does suck since the data is still there just not visible so an undo button would be really good for accident's like that.

 

Or if someone goes postal and deletes everyone's workflow before getting fired