Flow triggered by for selected item. Would like to perform actions on items in list that have the same meeting date as the item the flow was triggered on. Every combination I tried does not work but I'm not sure why, either no items are returned or it retries and says bad gateway or bad request. The dates must be in the same format as both sides of the comparison reference the same column... why is this so hard?
Below shows what I would like to do but it can't work (Meeting_x0020_Date and 'Meeting Date' are both the same date column in the SP list)
Solved! Go to Solution.
Hi @ PhilD,
Please take a try to add an apply to each and a condition to achieve your needs.
I have made a test on my side,I have created a sharepoint list with a singleline type column Council Committee and a date type column Meeting Date.
The screenshot of my flow as below:
The expression in the Condition as below:
@and(equals(items('Apply_to_each')?['Council_x0020_Committee'], body('Get_item')?['Council_x0020_Committee']),equals(items('Apply_to_each')?['Meeting_x0020_Date'], body('Get_item')?['Meeting_x0020_Date']))
The flow would run successfully as below:
Regards,
Alice Zhang
Hi @ PhilD,
Please take a try to add an apply to each and a condition to achieve your needs.
I have made a test on my side,I have created a sharepoint list with a singleline type column Council Committee and a date type column Meeting Date.
The screenshot of my flow as below:
The expression in the Condition as below:
@and(equals(items('Apply_to_each')?['Council_x0020_Committee'], body('Get_item')?['Council_x0020_Committee']),equals(items('Apply_to_each')?['Meeting_x0020_Date'], body('Get_item')?['Meeting_x0020_Date']))
The flow would run successfully as below:
Regards,
Alice Zhang
Thanks @v-yuazh-msft
This works as expected. I'm sure I wouldn't have gotten here without your help!
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
User | Count |
---|---|
34 | |
15 | |
15 | |
9 | |
9 |
User | Count |
---|---|
36 | |
26 | |
17 | |
7 | |
7 |