UI Menu should pop up after postable command completes

Hi all, A very good evening.

I am trying to get UI based on pop up after the postable command completes like after the user clicks on last command of “close” of postable command of inteference check then the UI pop up should appear. Every time if run it, the UI will pop up first and then the postable command is opening. Can anyone help for this ? I know I am missing a lil bit but need a help for this.

Below is the image after which the user clicks on “close” button then the UI should appear

Thanks in advance

Below is the graph that I am working on:

Hi, not sure if its related, but youre assigning a value to OUT twice when runit == true

Revit will commit the Dynamo logic as a single transaction by default. You need separate transactions in order for each action to “go through” at two different times.

Okay Nick let me check. Thanks for your response.