This doesn't have only one Automation, this is RPA Project end to end Text Adapter solution which connect with Pega as well.
Since code is in Client Desktop, difficult to Provide Screenshots. when we run the Text Adapter Project manually without Pega, its running ok, and also if we run the project through Pega, bot navigating through Mainframe Application, and status get completed, only getting error when send response back to pega.
I suggest that you open a support request. A support representative can access your machine and collect any information needed that you are unable to provide here. If you do open a support request, please include the number with this post. When the issue is resolved, we can add the resolution to this post. Thank you.