I want to send an email when a planner task is completed within my last bucket named 'completed'.
Please could someone help?
You need to get the 'bucketId' of completed and then you can create a Trigger Condition like what is described in https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Power-Automate-Trigger-Conditions-... . One way you can GET 'bucketId'(s) is by using 'List Buckets'. 'bucketId' is also in the trigger action 'body'. By defining this Trigger Condition, the flow will only run when the expression evaluates to TRUE.
I really wish I could find the video where I learned how to access items in JSON 🤔. The code snippet I provided is using the below method to GET the 'buckedId'.
Outputs > body > bucketId is the navigation of the JSON
The above code snippet with values from this example flow run:
equals checks whether both values, expressions, or objects are equivalent. So, the expression asks, "Is the bucketId value of the completed task equal to this string value?". True or False. Within a trigger condition, a true statement actually runs the flow. In a false statement, the flow does not run.
Check out new user group experience and if you are a leader please create your group
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.
Many congratulations to the Season 1 2021 Flownaut Crew!
ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.