Create a List Item action is creating two of the same item
-
27-12-2020 - |
Solution
You're running the steps in parallel, and both are being triggered when the status is changed to Approved. There's an item being created in Workflow History Test in the Pending Decision branch, but also in the Approved branch. Here's the order or execution:
- Approved: Wait for status change to Approved
- Pending Decision: Wait for status change to Pending
- Pending Decision: Set Variable reminderaction1
- Pending Decision: Set workflow status
- Pending Decision: Create item in Workflow History Test
- Pending Decision: Wait for status change to Approved
- Pending Decision: Set workflow status
- Approved: Set Variable reminderaction1
- Pending Decision: Create item in Workflow History Test
- Approved: Set workflow status
- Approved: Create item in Workflow History Test
It's the actions in steps 9 and 11 which are creating the duplicate entries in your list, because the two steps are running simultaneously.
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange