The aim of this flow is to create a page (with the anme of the created task as title) in a onenote section (with the bucket name the task was created in).
Flow
But after the test this error information was displayed:
error information
How do i use a array in this context correctly?
Thanks for your help!
Solved! Go to Solution.
Hi @Radar,
The error suggests that your are using a field which of type string in the input of your auf alle anwenden (apply to each) action. This action requires you to use an array as input instead of the id you are using.
However, you could probably approach this a bit differently and avoid the apply to each actions all together. You can do that by using two filter arrays for the matching of the bucket and the correct onenote section.
Below is an example of that approach.
This example doesn't include checks to see if there are any existing buckets or sections. So, you still might want to add these to the example.
1. Add the first filter array. This one is to retrieve the correct bucket and its name from the Lists buckets array.
2. Add the second filter array. This action is to find if there is an existing section already in the notebook.
And for the creation of the page it looks like you should be using the pagesurl property of the Get Sections action output in the Notebook section field.
Hi @Radar,
The error suggests that your are using a field which of type string in the input of your auf alle anwenden (apply to each) action. This action requires you to use an array as input instead of the id you are using.
However, you could probably approach this a bit differently and avoid the apply to each actions all together. You can do that by using two filter arrays for the matching of the bucket and the correct onenote section.
Below is an example of that approach.
This example doesn't include checks to see if there are any existing buckets or sections. So, you still might want to add these to the example.
1. Add the first filter array. This one is to retrieve the correct bucket and its name from the Lists buckets array.
2. Add the second filter array. This action is to find if there is an existing section already in the notebook.
And for the creation of the page it looks like you should be using the pagesurl property of the Get Sections action output in the Notebook section field.
Works like a charm. Thanks so much!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
70 | |
24 | |
18 | |
16 | |
13 |
User | Count |
---|---|
137 | |
44 | |
32 | |
32 | |
29 |