Skip to main content
1 件の回答
  1. 今日、6:53

    Hey Karthick, 

     

    The errors in your second screenshot tell you exactly what's wrong: 

     

    "Action input 'Guests' in 'Create_Experience_Session_Booking' has primitive type 'number' and does not require 'complex_data_type_name'" 

    "Action input 'startDate' in 'Get_Sessions' has primitive type 'date' and does not require 'complex_data_type_name'" 

     

    Basically, someone (or the auto-generation) set a complex_data_type_name on these two inputs, but that field is only meant for object or list[object] type inputs. Since Guests is a number and startDate is a date, both primitive types, that field should be empty for them. 

     

    Fix: 

    1. Open the Create Experience Session Booking action, find the Guests input parameter, and clear out the complex_data_type_name value, leave it blank 

    2. Do the same for the startDate input in the Get Sessions action 

    3. Save, then check the Problems panel again, the 2 warnings under it are worth reviewing too but the 3 errors should clear once these two inputs are fixed 

     

    These usually come from the action being generated off a Flow or Apex class where the parameter metadata got mismatched. If you're pulling these actions from a Flow, double check the Flow's input variable data types match what's expected (number/date, not a record/object type) before regenerating the action. 

     

    Reference:

    https://help.salesforce.com/s/articleView?id=ai.agent_actions_flow.htm&language=en_US&type=5

0/9000