Hello!
I am working with a PowerAutomate flow which is triggered by When an upcoming event is starting soon (V3) - after which a few things are evaluated;
- does the meeting have a name according to a few rules
- does the body contain a specific string
- have the required attendee (singluar) accepted the meeting
it is this third condition which I am facing issues on - and unfortunately the entire flow is hinging on this evaluation working!
The current attempts I have made are;
{
"type": "If",
"expression": {
"or": [
{
"equals": [
"@triggerOutputs()?['body/responseType']",
"accepted"
]
},
{
"equals": [
"@triggerOutputs()?['body/responseType']",
"Accepted"
]
}
]
},
"actions": { ......
where '.....' indicates the following actions which are not important for this case.
However, the only return I get from the "@triggerOutputs()?['body/responseType']" is "notResponded" - even if they indeed have accepted/rejected the meeting!
I made an attempt with getting help from CoPilot (unfortunately it was as dejecting as always). This is what I got;
|
1. Trigger: When an upcoming event is starting soon (V3)
2. Action: Office 365 Outlook → Get event (V4) (or if you only have “Get events (V4)”, you can still do it but you’ll get an array)
Event Id = Id from the trigger
3. Action: Compose
- Inputs: use the expression: body('Get_event_(V4)')
4. Action: Parse JSON
- Content: output of the Compose
- Schema: easiest way is:
- Run once
- Copy the Compose output JSON
- “Generate from sample”
5. After Parse JSON, you can reference the attendee objects (if present in that payload) with expressions like:
body('Parse_JSON')?['attendees']
|
The above does not really make any sense imo - since it does not result in an evaluation on response at all!
Anyone that could help me in this matter? :)