Flow Designer : Delete a Step outside the Flow

Dustin Taber1
Tera Expert

I wanted to share an insight that I had because I wasn't able to find a solution through searching the web.

 

Issue: In Flow Designer, I had a 'try' block which was missing the 'if an error occurs after step #' part. I don't know exactly how it happened that way, but every time I tried to delete it, it would lock up my browser. I did try multiple browsers, and it persisted between them. I even thought if I moved it to the end of the steps it would ok to try and run, but upon trying to activate it, I was also getting an error message about "Parallel Logic". That issue aside, and not being able to delete this step within Flow Designer, I set off to see if I could delete this somewhere else.

 

TLDR; You can delete steps, and you can do so by going to the 'sys_hub_flow_component' table and then narrowing down your search results by 'Flow' and possibly by 'Comment'. I had intentionally added a annotation to the 'try' block just so I could track it on the component table by comment. Once I found it, it was as easy as deleting anything else.
I reloaded the Flow in Workflow Studio and confirmed the problematic step was gone and I was able to activate the flow again.

 

I hope that this info will help someone else in a similar predicament.

If you have any other helpful insights to add, please add a comment, I would like to hear it as would the rest of the community.

1 REPLY 1

Community Alums
Not applicable

Your workaround using the sys_hub_flow_component table is clever, especially using the comment to identify the broken step. This could definitely save someone hours of frustration.

If someone wants to avoid this in the future, it's a good idea to always fully configure a Try-Catch or If-Else block before adding more steps under it. Flow Designer sometimes doesn't handle incomplete logic structures well.