I have one approval process that has the Assigned Approver as Manually Chosen. I want to create a flow to automatically submit the Opportunity to approval when certain criteria is met. On the Process Build its not possible to set the nextApproverIds, so I tried with it and got this error: enter image description here

So I'm trying with the Flow which I can select the Next Approver IDs, however its not allowing me to set the value that I want - which is supposed to be the Manager ID of the Opportunity's Owner.

enter image description here

2 Answers 2


Next Approver IDs is actually a list of Ids, but you can have only first element filled. To fix the issue create a collection variable and add Record.Owner.Manager.Id to that collection, after that assign that collection to Next Approver IDs.

  • Seems to be on the right path however Ive created a Text collection variable which does not accept to add this value: {!$Record.Owner.Manager.Id} Ive tried {!$Record.Owner.Manager.Id} + '' {!$Record.Owner.Manager.Id}&'' {!$Record.Owner.Manager.Id}'' None worked... how to convert the ID to a string? Sep 15, 2022 at 13:50
  • Just tried this {!$Record.Owner.Manager.Id} and also didnt work - It has a space right after the }. Here is the error message: We can't save this record because the “Opportunity - Extension Requested” process failed. Give your Salesforce admin these details. bad id 0052p00000AfG76AAF Error ID: 2023805675-121236 (-953294561)bad id 0052p00000AfG76AAF Error ID: 2023805675-121236 (-953294561) Sep 15, 2022 at 13:55
  • Try adding {!$Record.Owner.ManagerId} instead of putting Manager.Id Sep 15, 2022 at 14:01
  • Same issue, error is: Enter a valid value. Sep 15, 2022 at 14:14
  • Seems like the problem isnt the way that I get the ID but on the conversion from the ID to a String Sep 15, 2022 at 14:16

Next Approver Ids field only accepts Text collection variables https://trailhead.salesforce.com/content/learn/modules/flow-builder/flow-builder-create-variable

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .