cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Build process Automation - How to execute automations with recorded screens in Background mode

munipkumar
Explorer
351

Hello Experts,@Archana , @botazhat , @Chaitanya_Priya ,

We have a business use case to run the BPA automations to run in unattended mode which also in a background mode ( similar to Background jobs in SAP).

We have created an automation using screen capture option and recorded the Fiori app screens for asset distribution rules( App id : AIBU) on S4 HANA public cloud system, and we have created an process automation to read the data from a file and pass the data into this automation so that the bot can copy the data from file to the app AIBU and post the data in S4 system.

The automation is working fine end to end but its getting executed in fore ground in User machine on a browser window.

The question here is is it possible to schedule this automation as a background job in unattended mode so that this Job can run every day at given frequency and post the data in S4 system in AIBU application.

System details:

S4 HANA public cloud 2402

BPA desktop agent version: 3.24.54

Thanks a lot in advance.

SAP Build Process Automation SAP Business Technology Platform SAP S/4HANA Cloud Public Edition 

View Entire Topic
Sankara1
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Munipkumar,

Thank you for reaching out to us. Since you are creating a UI-based automation, it is crucial that the end user does not disturb the screen during execution, as this can cause screen recognition issues. To avoid this, you can either use an unattended bot on a virtual remote system or ensure that the end user refrains from any activity during the execution.

ArthurLima
Explorer
0 Kudos

Hi Sankara,

I have a similar situation here. But we already have a virtual machine and we already config the agent desktop to unlock Windows session, if needed.

However, attended and unattended mode are presenting very different behaviors. While attended executions runs smoothly, unattended executions are slower and some elements are just not recognized as expected. If I log in virtual machine, open the S/4 application and close the virtual machine, the automation runs correctly.

Should attended and unattended automation have some different approachs? Do you have any idea about why unattended automation does not recognizes some screen elements?

Regards