Deployment of GenAiPlannerBundle fails with invalid analyzeSemanticData invocation target
- Dominant language
- No language data
- Stars
- 571
- Forks
- 80
- Avg merge
- 7d 7h
- Merged PRs (30d)
- 3
Description
> **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
```json
{
"error": {
"message": "Cannot read properties of undefined (reading '2.150.6')",
"name": "TypeError"
}
}
```
Contributor guide
Research direction
Start with the localActions metadata snippet and reproduce the deployment using the sf project deploy command on a Linux agent. Compare the retrieved GenAiPlannerBundle with the deployment error and verify whether the referenced invocation target exists in the target sandbox. Done means the same metadata deploys successfully and returns a PlannerId for BotVersion creation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- cli, cloud, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100