I am currently trying to do what is in this video: video of the flow I am trying to create
I'm having a few issues:
- An extra "Apply to Each" box shows up. In the video at 10:37 when I enter in the category value it jumps and puts the filter array box into a apply to each box. That does not happen in the video so I'm not sure why it is happening to my flow. I tested multiple versions of this flow. I was able to drag the box back to how he has them in the videos and continue building my flow. The following issues persist with or without the removal of this extra box.
- When I try to type in what he did "first(body('Filter_array'))['id']" It doesn't work. I do not understand where this expression is coming from. When I type in "first()" nothing happens and he does not mention copy pasting anything in this segment of the video at around 10:50 where did he get the expression for the bucket ID? I tried typing in what he wrote and my flow test failed in create a task after filter array. The error message shows " InvalidTemplate Unable to process template language expressions in action 'Create_a_task' inputs at line '0' and column '0': 'The template language expression 'first(body('Filter_array'))['id']' cannot be evaluated because property 'id' cannot be selected."
- When I run my test it fails in that point. Either from the apply to each box appearing or from this mystery expression.
- Does this video even explain automatic updates of new tasks being created when a list item is added or is this a one time transfer?
In summary I just need to transfer over a list into task to be able to include the information of what buckets it should go to and keep any attachments in this migration. I was a ski instructor a few months ago so any help explained very plainly would be greatly appreciated.
the apply to each box that shows up for me that is not in the video
where I typed in the expression from the video verbatim
how the extra apply to each box fails in the test of the flow
code of failed area
how the typed expression fails in a test of the flow
what I tried typing into the Bucked ID box as an expression