I have a flow that creates a planner task when I create an new item on sharepoint, I would like another flow to register on this planner task some details when this item is deleted on shapoint.
Solved! Go to Solution.
Hi @Anonymous
First of all you need to save the ID of SharePoint item in planner task.
I recommend to save the task in planner with Title = ID - SharePoint Title.
Next you'll build your flow with "When a item is deleted", this action don't brings all item information, it's bring only ID and deletion information (How delete, when deleted and etc).
Your flow structure need to:
first(split(items('Aplicar_a_cada')?['title'],','))
See the print bellow:
Gustavo Moraes, o astronauta brasileiro do Flow!
Hi @Anonymous
First of all you need to save the ID of SharePoint item in planner task.
I recommend to save the task in planner with Title = ID - SharePoint Title.
Next you'll build your flow with "When a item is deleted", this action don't brings all item information, it's bring only ID and deletion information (How delete, when deleted and etc).
Your flow structure need to:
first(split(items('Aplicar_a_cada')?['title'],','))
See the print bellow:
Gustavo Moraes, o astronauta brasileiro do Flow!
Then on your deleted item flow, query ListB where ID eq ListB.Title and then delete the PlannerTask by ID and also the list item.
Although you are storing a extra list of data, it is completely maintained by flow and you do not need to be restricted to what the title is called, and most likely your users will break your logic with the above method as they will rename things to make them more user friendly.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
14 | |
13 | |
10 | |
10 | |
9 |
User | Count |
---|---|
30 | |
21 | |
15 | |
13 | |
12 |