Skip to main content
Hannes Roth ha preguntado en #Data Management
Hi,

 

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.

  1. At first I created a Variable in the flow 'AccountId', configured this way:
Pass Account ID from Process Builder to Flow Builder

 

But I struggeld in the Process Builder. The only way I saw to configure this is this:

 

Vom Benutzer hinzugefügtes Bild

 

Vom Benutzer hinzugefügtes Bild

 

=> 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':

 

Vom Benutzer hinzugefügtes Bild

 

In the Process Builder it looks this way:

 

Vom Benutzer hinzugefügtes Bild

 

But in the next screen I can not select anything and just navigate through ID Fields.

 

What is the fault?
7 respuestas
  1. 28 nov 2019, 8:45
    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
0/9000