I've reached the following "blocker" in my project.
I have applied to each step which collects start and end dates from a calendar.
I'm trying now to pass these parameters to PVA (Power Virtual Agent)
However, i cannot refer to the values of applying to each, but only to the Current Item.
So my idea here is te following
For each of the results here:
To get the outputs for Start and End time steps,
in my case, these will be a list of a total of 18 rows in the format Start Time xxxxx - End Time xxxxxxxx
Inside the Apply to each, I cannot use Initialize Variable so the must be something else to get these 18 outputs.
Solved! Go to Solution.
Hi @Radoslavov ,
The unique feature of using Compose inside apply to each loop is that if accessed outside loop it gives you output in array. So you can use one compose action with formatted date as you want like Start Date : End Date and then outside of loop use compose action with output as outputs('Compose').
Hi @ManishJain ,
I've tried this and it didn't work, perhaps I'm doing something wrong:
InvalidTemplate. Unable to process template language expressions in action 'Compose' inputs at line '1' and column '15787': 'The template language expression 'outputs('Apply_to_each')['Composed_time']' cannot be evaluated because property 'Composed_time' cannot be selected. Please see https://aka.ms/logicexpressions for usage details.'.
It's workiiiiiiiiiiiiiiiiiiing 🙂
Thank you so much @ManishJain
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.
The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.