May 11 2023 04:13 AM - edited May 11 2023 04:17 AM
High everyone,
Subject: update a sharepoint list column item automatically with a lookup / filtered value of another sharepoint list.
We use in a sharepoint site 2 lists (master | riskcat) to do riskmanagement.
Within the master list, the process owner rates the process risk with 2 values, impact and probability.
The field risk is a calculated column (impact x probability).
master
processrisk (char) | impact (int1) | probability (int1) | rIsk (int) | riskclass (char) |
The column riskclass is the brinbback colum of a additional second list called riskcat.
riskcat (risk-categories)
risk (int) | riskclass (char) |
The column risk (INT) contains the risk values (1- 100 ) and the column riskclass contains the assigned class information. With the help of an additional lookup field risk1 (master list) the user will be able to get the riskclass information manually.
We are searching for a automate solution.
Trigger: If field value master.risk changes (create or update)
Request: lookup/filter the list riskcat with the condition master.risk==riscat.risk => bringback riscat.riskclass and update column item master.riskclass.
I hope power automate can help, but the GetItem (ID) is the wrong way.
Any help is appreciated.
May 15 2023 12:19 AM
To automate the update of a SharePoint list column item based on a lookup or filtered value from another SharePoint list, you can use Power Automate (previously known as Microsoft Flow). Here's how you can achieve this:
This flow will trigger whenever an item is created or modified in the master list. It will retrieve the corresponding item from the riskcat list based on the matching risk value. If a matching item is found, it will update the "riskclass" column in the master list with the corresponding value from the riskcat list.
Note: Make sure to replace [master][risk] in the filter query with the appropriate dynamic content for the risk value from the master list.
May 15 2023 11:43 PM