Hello,
im trying to replicate following flow. However i have an issue with step with Filter Array. In my situation it wont show me option "IsDefaultCalendar" so i cannot use it. Im building a flow which would setup an event for user who start the flow. For that i need to get id of users default calendar. Currently i do not know how to continue. Can anyone please help?
Thank you.
Regards,
Jakub
Solved! Go to Solution.
I have built a sample flow for you.
Use a JSON parser to parse the output of the Get Calendar (V2) action.
Download the flow from here.
https://1drv.ms/u/s!AiSgXzNMOHCkz1MYnj1wXf216jTl?e=tshm7h
If you are running the flow in context of a user (not a service account), Get Calendars (V2) should return the IsDefaultCalendar attribute.
Are you able to investigate the output of the flow run?
Hello,
thank you for your reply. Yes i noticed that when i try to compose the outcome that there is such value. However i dont know how to filter this value as it is in my original screenshot. That screenshot is not from my environment, source can be found here:
https://forwardforever.com/power-apps-and-marking-vacations/
My problem is that i dont know how replicate the step with filter array to get default calendar id of user. It seems that they used some dynamic content IsDefaultCalendar. In my case i dont have such option. So i do not know how to filter it.
I have built a sample flow for you.
Use a JSON parser to parse the output of the Get Calendar (V2) action.
Download the flow from here.
https://1drv.ms/u/s!AiSgXzNMOHCkz1MYnj1wXf216jTl?e=tshm7h
Thank you. It kind of solved my problem. I have still one more thing. I need to convert it from array to single object. The reason is, if i put id from filter array into Create event, it automatically creates aplly to each loop, even when there is only one object. I need to get rid of this apply to each loop. I need to send response to my application with id of event and i cannot use id from create event as it is in loop. Can you please help me with this as well? I think some compose with function first would solve it but dont know how to write it.
Thank you,
Jakub.
Download the updated flow from here.
https://1drv.ms/u/s!AiSgXzNMOHCkz1TdLoPuuXZwsDY5?e=MXXWiI