There is a line in the sharepoint list that contains some data.
When a new record is created, a script is activated that assigns the responsible. Responsibles are entered into the table depending on the area using Switch and Update Item.
After assigning those responsible, you need to start the Approve process. It's just how - it's not clear.
If you insert values from the "When ites created" trigger into Approve, then Approve complains that there are no values there. And they are not there, it is created with empty fields.
It is possible to assign responsible persons from the "Update item", but there are several of them inside the Switch and which one will be selected is unknown.
You can leave the trigger as it is, then update, then get data from the table, where ID = ID created in the trigger, but this way it returns an array and Approve needs to be entered into the For Each loop, which is also somehow so-so.
How to do it right?

Report
All responses (
Answers (