Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More

Custom Lightning Types not rendering consistently in the agent

Publish Date: Jun 19, 2026
Description

This behavior is non-deterministic due to the reliance on the LLM. Explicit instructions via subagent, subagent’s action, and action output parameter would help resolve the issue.


Resolution

Sample Instructions to add in Subagent:
“Run the <Action Name> action to display the result. The output of this action is always renderable. Always use show_command to display the result to the user.”

Subagent’s Action:
“The output of this action is always renderable, always use show_command to display the result to the user.”

Output Parameter of Subagent’s Action:
“The output of this action is always renderable, always use show_command to display the result to the user.”

Knowledge Article Number

005387411

 
Loading
Salesforce Help | Article