cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BarneyHillman
New Member

Microsoft flow to sharepoint list

Hello there,

 

I have tried to create a flow to make a ticketing system where people submit a form and it automatically gets put into a SharePoint list.

 

When my flow runs I get the following error:

The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body/resourceData/responseId']' is of type 'Integer'. The result must be a valid array.

 

BarneyHillman_2-1634207305064.png

BarneyHillman_3-1634207325161.png

The SharePoint List is Called Issue Tracker List.

The Form is called Submit a Ticket.

 

Any help would be greatly appreciated.

Thanks in advance 🙂

 

1 ACCEPTED SOLUTION

Accepted Solutions

@BarneyHillman 

Try moving the create Item outside the apply as well

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

View solution in original post

6 REPLIES 6
Mira_Ghaly
Dual Super User II
Dual Super User II

@BarneyHillman 

This step needs to be moved outside the Apply to Each

Mira_Ghaly_0-1634207589204.png

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

Wow thank you for such a fast reply

 

BarneyHillman_0-1634207661059.png

 

you mean like this?

 

I still get this error 😞

 

The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body/resourceData/responseId']' is of type 'Integer'. The result must be a valid array.

@BarneyHillman 

Try moving the create Item outside the apply as well

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

View solution in original post

BarneyHillman_0-1634207984113.png

it now looks like this i will give it  try

 

 

Thank you 

@Mira_Ghaly 

 

It works, is there any way i can give you a rating or something? I'm new to this 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,900)