New Dialog open when variable is true

Hello,
Im planning on having the dialog be in a component and then triggering the opening of the dialog from a global workflow. this means I don’t have access to the components workflow for opening the dialog and so I was hoping there would be a way to use a variable to trigger it being opened. Any other methods are also welcome

Add a component property in your component, and bind it to your variable.

Create a component workflow, triggered by property change, that opens/closes dialog based on property value

2 Likes

perfect that’ll work!

Would you prefer having an option to manually bind the open state of the dialog?

Yeah! That would be a nice feature I think