
Announcements
Hi there,
I am working on a Cloud flow within my solution and I am having some trouble with environment variables in the Create table action. The Create table action is failing when in my Test environment, but not my Development environment.
The 'Location' input for the 'Create table' action is an environment variable that contains the URL to the SharePoint site that the excel file is being stored.
The 'Document Library' input for the Create table action is Documents. This is chosen from the dropdown and NOT an environment variable. I have have noticed after running a test in my development environment that this changes to a Drive ID. I have previously tried storing the Drive ID in an Environment variable however when doing this, an error is thrown.
'File' input is the Id from dynamic content (i.e. outputs('Create_file')?[body/Id] )
Table range, Table name and Column names are all hardcoded.
My Dev and Test lists are identical.
Here is an overview of my flow, please let me know if you require further information to help me with this query.
Output here is: body('Select')
value here is: outputs('Get_items')['body/value']
Maybe instead of hardcoding the Table name, use the Get tables Action to return the table in your Excel sheet.
Specify the output of the Get tables to your List rows action