ForceFlow icon indicating copy to clipboard operation
ForceFlow copied to clipboard

Cannot Delete flows when a flow is referenced by another flow

Open IainGriffiths opened this issue 7 years ago • 2 comments

Hi There, I've just installed the latest ForceFlow in my development workspace and was trying to deploy using FF to deactivate and delete the flow records and then redeploy. However if a flow is using another Flow to complete a task you cannot delete them as one references the other. You get the message : Error: Cannot complete this operation. Can't delete this Flow Definition because it's referenced by C reate_Support_Contact_Roles version 1. Remove action Create Support Contact Account Contact Role from the process. : Open the process in the Process Builder

Cheers Iain

IainGriffiths avatar Apr 07 '17 14:04 IainGriffiths

Hi @IainGriffiths sorry for the late response on this. I am currently quite busy on a number of things and I struggle to find time to dedicate to this. It would help if you could suggest a manual workaround with specific steps that solve the problem in your case, so I can verify and code it when & if I find some spare time.

eroispaziali avatar Apr 18 '17 21:04 eroispaziali

No Problem, as it happens I've not yet found a clean way of doing this - I think if I can identify the parent flows and delete them first then the rest will work, but not got as far as working out how to identify them. I'll get back to you when I do. Cheers Iain

IainGriffiths avatar Apr 19 '17 08:04 IainGriffiths