Check If View Exists Extension
This extension checks if a view with a configured name exists, and sets the variable ${{RevitViewExists}} accordingly.
Using this extension in combination with the Conditional task will enable you to execute parts of your workflow based upon if a view exists or not.
Configure what view to check

Use ${{RevitViewExists}} variable in Conditional task

The view with name 'L2' will be set as active view only if it exists. If the view does not exist, no further action will take place.
The result can be:
For additional support or feature requests, please contact the Tools team.