Skip to main content

I am trying to deploy Prompt Builder to Production from sandbox I am getting some errors while deploying  it via change sets, in  prod there are only 4 or 5 versions of the Prompts but while validating i am getting this error. How can I fix this issue.  

Prompt Builder Deployment Issue

 

 

 

#Trailhead Challenges  #Salesforce Developer  #Agentforce  #Salesforce  #SetupWithAgentforce

2 answers
  1. Sep 22, 2:47 PM

    Hey @Gurpreet Kaur Talwar

    , 

     

    The root cause is likely your sandbox having a lot of inactive template versions saved up, and the change set is trying to push all of them over at once.

     

    To fix this, turn on the setting that restricts deployments to active versions only:

     

    1. In Production, head to Setup > Einstein Setup> Prompt Builder Settings .
    2. Turn on Deploy Active Prompt Template Versions Only.
    3. In your Sandbox, recreate or refresh the change set, and run the validation again.

    Hey , The root cause is likely your sandbox having a lot of inactive template versions saved up, and the change set is trying to push all of them over at once.

0/9000