Skip to content

Deployment of GenAiPlannerBundle fails with invalid analyzeSemanticData invocation target #3649

Description

@sambit-diff

Note
Before you submit your issue, make sure that:

  • You're using the latest version of Salesforce CLI.
  • You've searched both open and closed issues for related posts.
  • You've used the doctor command to diagnose common issues.
  • You understand that GitHub Issues don't adhere to any agreement or SLA.
    • If you require immediate assistance, use official channels such as Salesforce Customer Support.

Summary

We have a Tableau Next / Agentforce Analytics Agent (UKC_Distribution_Analytics_Assistant) developed in a DEV sandbox.

The agent was created successfully in DEV using Agentforce Builder and includes a Data Analysis subagent with the standard action Analyze Data.

Metadata was retrieved successfully using Salesforce CLI (@salesforce/cli) and committed to source control.

When deploying the same metadata to a SIT sandbox, deployment fails with: The invocation target value 'analyzeSemanticData' (type: standardInvocableAction) for action 'AnalyzeSemanticData_179Q10000008Tw5' is invalid. Check that the referenced target exists in your org, or update the invocation target field with a valid value.

Architecture

Data Cloud One
Home Org + Companion Org model
We are creating GenAiPlannerBundle in companion org DEV sandbox, and deploying to SIT sandbox using 'sf project deploy' CLI command.

Steps To Reproduce

  1. Create Analytics Agent. Use agentforce Builder name = "Analytics Assistant", subagent "Data Analysis" and action "Analyze Data"
  2. Retrieve metadata using vscode or sf retrieve command
  3. Deploy this metadata back to same sandbox

Expected result

AI Planner Bundle created, and Salesforce would return a PlannerId using which BotVersion can be created.

Actual result

The invocation target value 'analyzeSemanticData' (type: standardInvocableAction) for action 'AnalyzeSemanticData_179Q10000008Tw5' is invalid

Additional information

Metadata snippet:

AnalyzeSemanticData_179Q10000008Tw5
analyzeSemanticData
standardInvocableAction
Analytics__AnalyzeSemanticData

System Information

We are executing @salesforce/cli commands on Azure DevOps pipelines hosted on dynamic linux agents

{
  "error": {
    "message": "Cannot read properties of undefined (reading '2.150.6')",
    "name": "TypeError"
  }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:afdxCLI issue within plugin-agent or agents librarybugIssue or pull request that identifies or fixes a bugmore information requiredIssue requires more information or a response from the customerowned by another teamThe Salesforce CLI team does not own this work but will pass on the information to the correct team.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions