How to Implement "One Click" Scene Clear and load new pattern in Neo4j Bloom?

Dear community,

I'm trying to implement feature in Neo4j Bloom by having a single click (or action) that will first clear the current scene (return nothing), and then immediately load a new pattern or subgraph for exploration, in another word to start further exploration based on current scene in a new scene. I tried using Scene Actions, but since Bloom only allows one Cypher statement per action, I can't chain a "clear" and a "load" together.

Has anyone found a way to implement this "one click to clear and reload" pattern in Bloom? Are there any workarounds, plugins, or best practices to achieve this? Any advice or examples would be appreciated!

This is what I was trying to implement in the scene actions under ‘saved cypher’ section

One other relevant issue is since id(n) will be deprecated - which other id should we use for scene actions? below using the unique ID didn’t work

MATCH p=(e:Employee)-[r]->()
WHERE e.id IN $nodes
RETURN p LIMIT 10;