Page 1 of 1

Passing the ID of a button that was clicked to a variable

Posted: 12 Sep 2016 13:41
by rcfree
Hi

Is there a way to pass the identification of a button (button within a widget created in Automagic) that was clicked to a variable or flow for analysis?

I want to know which button was clicked to make decisions within a flow, avoid creating a flow for each button.

I appreciate the help.

Re: Passing the ID of a button that was clicked to a variabl

Posted: 12 Sep 2016 19:19
by Martin
Hi,

Automagic passes the variables widget_cell_x and widget_cell_y with the index of the clickable cell to the executed action/flow. widget_cell_x=0, widget_cell_y=0 for the topmost leftmost action of the widget.

Regards,
Martin

Re: Passing the ID of a button that was clicked to a variabl

Posted: 12 Sep 2016 20:43
by rcfree
I appreciate the quick response, will solve my problem.

thank you