I want to pass the Account ID from the Current Account to a Flow in the Flow Builder (when the Account is changed). I had two ideas, but both did not work.
- At first I created a Variable in the flow 'AccountId', configured this way:
But I struggeld in the Process Builder. The only way I saw to configure this is this:
=> This leads to an error:
We can't save this record because the “Initiate Flow Vertrag zu Auftrag” process failed. Give your Salesforce admin these details. <b>An unhandled fault has occurred in this flow</b> An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information. Error ID: 1935730348-224233 (-1058948698)
2. The second way I tried this was to crate a new variable and mark it with 'multiple values':
In the Process Builder it looks this way:
But in the next screen I can not select anything and just navigate through ID Fields.
What is the fault?
7 respuestas
1. You cannot pass values to a collection variable from process.
To pass the ID to the flow, you have to create a TEXT type variable, make sure to mark it as "Available for Input".
Then in the process, pass the record Id like this:
AccId Field Reference [Account].Id