I have a Flow with a Data Table component, and afterwards I have a decision node where I want to evaluate if any row was selected from the previous Data Table. I have tried the following approaches without success, any idea?

1) enter image description here


enter image description here

1 Answer 1


One way to do this is to assign the count of the selected rows output from the data table component to a variable in your flow and use a 'greater than' operator in your decision.

To do this, immediately after the screen that contains the data table add an Assignment node that assigns the 'Equals Count' of the SelectedRows attribute of your data table to a variable of type Number.

enter image description here

Then in your decision node, simply use this number variable to determine what branch you need to follow.

enter image description here

  • Great approach @callum MacErlich! Thanks it worked!
    – Lut
    Apr 14 at 5:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .