Headless automation for mainframe application

Hi guys,
Can anyone help me with headless automation for mainframe terminal session automation, I have configured a robot using Orchestrator and made as a background activity, still the automation is running in foreground can anyone help me with this

Thank You!

Hi @Akhil_Kayyam

make sure you are using background-compatible activities like send keys and avoid ui-based interactions
use ibm terminal or tn3270 session activity with direct connection string
confirm the robot is unattended and has proper runtime and rdp rights
in orchestrator under process settings ensure run in background is enabled
avoid any activity that requires visible screen or user interface
if still opens in foreground consider running via citrix or vm with matching resolution settings

If you found helpful please mark as a solution. Thanks
Happy Automation with UiPath