Skip to main content

So I have an AutoLaunched Flow registered as an Agentforce Agent Action. The flow accepts two String input variables (varLastName, varFirstName) and returns one String output variable (varSearchResults, configured as Show in Conversation = Yes, Filter from Agent Action = unchecked, Output Rendering = Text). The flow queries Case and a Custom object's records by applicant name and assembles a formatted text result into varSearchResults. When the agent action is invoked from the Agentforce Builder Conversation Preview, the following three symptoms occur simultaneously:     1. The canvas does not update to show which subagent or action was invoked   2. The agent responds verbally (e.g., "Here are the search results for {a person's Last Name}. Let me know if you need further assistance.") but no actual output content is rendered   3. The conversation preview prompt window enters a locked state — no further prompts can be submitted    Has anyone encountered something like this before? If so, what did you do to address it?   

2 件の回答
  1. 5月1日 19:32

    Hey @Niraj Sinha! 

     

    So that 2-4K character limit things is bizarre to me. My templated output has a character count of 143.  Moreover, both the variable in the flow and the output in the Agent Action are set to 'text' (the variable, as 'plain text'). And the output has 'show in conversation' ticked.  Those were the first things I checked, because I figured that I just mix-matched them.... 

     

    As far as what happens when there's no match, at a few different points in the flow, some text gets put into the "varSearchResults" variable saying along the lines of 'there's no match'...And that text has max of 48 characters +/-....  So I don't think thats the cause either. 

     

    I've gotten into the habit of, every time I make a change to the flow, I deactivate the Agent,  delete the Agent Action, recreate it (with all the right boxes ticked), Go to the Subagent, remove the previously captured agent action and then re-add the action. Activate and then test again. I also thought there was some sort of cached nonsense going on but my workflow, to me, accounts for that. I am genuinely perplexed... 

     

    My working theory is that the Trust Layer catches that the output has Names (first and last) in it and just kills the whole thing.  Problem there, is that in this dev org I can't disable the "sensitive data" checkboxes for name, email, SSN, etc.