
User15976987613926449178 (Customer) asked a question.
User Created Trigger (Done)
Read User Info (Done)
Search Group Table by Department Name (Done)
Was the department found
Yes: Connect to Table with Department Name
Read a line
Search Group Table
Add user to group from table
EOF
No: Read next line
Yes: end
No: Return not found error

This is what I have so far:
Basic Flow:
OK, I figured out how to get info from a table and pass to child flow. Next question, is there a way to make the table that I want to open be dynamic?
@User15976987613926449178 (Customer)
Sure. There is an option to provide the table ID at runtime.
When you open a table up in the GUI the URL will contain the tables ID (in bold)
https://tlaborninc.workflows.okta.com/app/folders/10222/tables/558aeab6-e15d-4da6-a034-cd0acd466379
You can then store those ID"s and have some logic to return them if the criteria is met. I'll show an example using a lookup table.
Setup:
Create 2 tables with the same columns (department, region) were used. For table 1 I did sales,NA and for table 2 I did sales,SA
I then took the Table ID's and populated the lookup table in the example screenshot below. Once setup & tested I returned the expected results from each table by adjusting the "assign" card from 1 to 2.
Perfect! Thank you!!!