Hello everyone,
I am currently working on Pega Labs with Pega Infinity ’26.
I created a Pega Agent that works correctly and is used conversationally through the Agent Widget displayed in the Utilities panel of my case.
My objective is to retrieve structured information extracted during the conversation with the Agent and store it in properties of the current case.
The current execution flow is as follows:
Agent → Tool (StoreExternalAIResults) → Automation (RunSetExternalAIResults) → Activity (SetExternalAIResults) → Data Transform (SetExternalAIResults)
The Agent correctly extracts the target values from the conversation. When tracing the execution, I can see these values being populated on a pyWorkPage.
However, when I move to the next step in the case, the corresponding fields are empty. It appears that the pyWorkPage being updated during the Agent Tool execution is not the actual case clipboard page, or that the changes are not being persisted back to the case.
I also tried adding an Obj-Open-By-Handle step in the activity to explicitly open the current case and restore the correct case context.
When I call the Data Transform directly on pyWorkPage, the Tracer shows that the execution starts with an empty pyWorkPage, which is then populated with the values extracted from the Agent conversation. However, these values are still not available in the case afterwards.
Has anyone successfully mapped information extracted from an Agent conversation back into the current case?
Is there a specific clipboard context, primary page, or persistence mechanism that should be used when calling an Activity or Data Transform from an Agent Tool?
I have attached screenshots showing the configuration and Tracer results.
Thank you in advance for your help.



