W-17043234 - fix: support retrieving agent pseudo type#1285
Merged
WillieRuemmele merged 1 commit intomainfrom Feb 11, 2025
Merged
W-17043234 - fix: support retrieving agent pseudo type#1285WillieRuemmele merged 1 commit intomainfrom
WillieRuemmele merged 1 commit intomainfrom
Conversation
WillieRuemmele
approved these changes
Feb 11, 2025
Contributor
QA Notes ➜ pd project retrieve start -m Agent
────────────── Retrieving Metadata ──────────────
Retrieving v60.0 metadata from epic.42844c000e1a@orgfarm.out using the v64.0 SOAP API
✔ Preparing retrieve request 9ms
✔ Sending request to org 297ms
✔ Waiting for the org to respond 5.95s
✔ Done 0ms
Status: Succeeded
Elapsed Time: 6.38s
Retrieved Source
┌─────────┬───────────────────────────┬──────────────┬───────────────────────────────────────────────────────────┐
│ State │ Name │ Type │ Path │
├─────────┼───────────────────────────┼──────────────┼───────────────────────────────────────────────────────────┤
│ Created │ Copilot_for_Salesforce │ Bot │ force-app/main/default/bots/Copilot_for_Salesforce/Copilo │
│ │ │ │ t_for_Salesforce.bot-meta.xml │
│ Created │ Copilot_for_Salesforce.v1 │ BotVersion │ force-app/main/default/bots/Copilot_for_Salesforce/v1.bot │
│ │ │ │ Version-meta.xml │
│ Created │ EmployeeCopilotPlanner │ GenAiPlanner │ force-app/main/default/genAiPlanners/EmployeeCopilotPlann │
│ │ │ │ er.genAiPlanner-meta.xml │
└─────────┴───────────────────────────┴──────────────┴───────────────────────────────────────────────────────────┘
✅ : specifying agent name, reduced it to only bot MD, since genAiPlanner was named differently ➜ pd project retrieve start -m Agent:Copilot_for_Salesforce
────────────── Retrieving Metadata ──────────────
Retrieving v60.0 metadata from epic.42844c000e1a@orgfarm.out using the v64.0 SOAP API
✔ Preparing retrieve request 9ms
✔ Sending request to org 228ms
✔ Waiting for the org to respond 872ms
✔ Done 0ms
Status: Succeeded
Elapsed Time: 1.14s
Retrieved Source
┌─────────┬───────────────────────────┬────────────┬─────────────────────────────────────────────────────────────┐
│ State │ Name │ Type │ Path │
├─────────┼───────────────────────────┼────────────┼─────────────────────────────────────────────────────────────┤
│ Created │ Copilot_for_Salesforce │ Bot │ force-app/main/default/bots/Copilot_for_Salesforce/Copilot_ │
│ │ │ │ for_Salesforce.bot-meta.xml │
│ Created │ Copilot_for_Salesforce.v1 │ BotVersion │ force-app/main/default/bots/Copilot_for_Salesforce/v1.botVe │
│ │ │ │ rsion-meta.xml │
└─────────┴───────────────────────────┴────────────┴─────────────────────────────────────────────────────────────┘
✅ : retrieving the GenAiPlanner that way worked as well ➜ pd project retrieve start -m Agent:EmployeeCopilotPlanner
────────────── Retrieving Metadata ──────────────
Retrieving v60.0 metadata from epic.42844c000e1a@orgfarm.out using the v64.0 SOAP API
✔ Preparing retrieve request 8ms
✔ Sending request to org 236ms
✔ Waiting for the org to respond 866ms
✔ Done 0ms
Status: Succeeded
Elapsed Time: 1.13s
Retrieved Source
┌─────────┬────────────────────────┬──────────────┬──────────────────────────────────────────────────────────────┐
│ State │ Name │ Type │ Path │
├─────────┼────────────────────────┼──────────────┼──────────────────────────────────────────────────────────────┤
│ Created │ EmployeeCopilotPlanner │ GenAiPlanner │ force-app/main/default/genAiPlanners/EmployeeCopilotPlanner. │
│ │ │ │ genAiPlanner-meta.xml │
└─────────┴────────────────────────┴──────────────┴──────────────────────────────────────────────────────────────┘
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Agents can be retrieved using the Bot API name (as a pseudo-type).
What issues does this PR fix or reference?
@W-17043234@