Skip to main content

Hello, I am trying to create an email trigger flow based on the pick value of a field called "TYPE" but I keep getting an error when I create the record. Below is the email error I receive. I am new to flows and any help understanding this is greatly appreciated

Error element A_new_project_in_Opp (FlowActionCall).  Missing required input parameter: SObjectRowId 

 

Flow Details  Flow API Name: A_new_Project_in_Opportunities  Type: Autolaunched Flow  Version: 4  Status: Active  Org: CoreFX Ingredients LLC (00DF0000000Bq1V)

Flow Interview Details  Interview Label: A new Project in Opportunities 2/1/2022, 11:24 AM  Interview GUID: 3953ffafddc34fba666b305ad5bc17eb6284402-15f1  Current User: Bella Cotrone (0055d00000ALXjl)  Start time: 2/1/2022, 11:24 AM  Duration: 0 seconds

How the Interview Started  Bella Cotrone (0055d00000ALXjl) started the flow interview.  API Version for Running the Flow: 53  Some of this flow's variables were set when the interview started.  $Record = Opportunity (0065d00000xJFzxAAG)

OPPORTUNITY.A_NEW_PROJECT_AS_BEEN_ENTERED_IN_OPPORTUNITIES (EMAIL ALERTS): A new project in Opp  Inputs:  SObjectRowId = {!$Flow.CurrentRecord} (null)

 

Error Occurred: Missing required input parameter: SObjectRowId 

 

I created the below email template

A new project has been entered by {!Opportunity.OwnerFullName}  {!Opportunity.Name}  {!Opportunity.Account}  {!Opportunity.Project_Description__c}  Projected Annual Volume: {!Opportunity.Annual_Volume__c}  Target Selling Price: {!Opportunity.Target_Selling_Price__c}  {!Opportunity.Link}

 

Then I created the email alert and used the above email template. 

Please see the attachments on how the workflow was created. I believe that the issue is coming to form the workflow action. 

#flow
7 respuestas
  1. 1 feb 2022, 23:31

    Hi,

     

    In the above screenshot, for an ID type you given the value Type (which may be text or similar). The datatype should match like {!$Record.Id} . It depends on your requirement.

    Matching the datatype correctly should fix the issue.

0/9000