cancel
Showing results for 
Search instead for 
Did you mean: 

How can we trigger a Blue Prism BOT from Microsoft PowerApps?

DhaneshP_M
Level 3
Wondering if we have any way to trigger a Blue Prism BOT (Foreground Application) from Microsoft PowerApps?

The requirement would be, when we do a button click on MS PowerApps, then the Blue Prism BOT has to be triggered and should start the execution.

Your advice is appreciated!

Best
7 REPLIES 7

John__Carter
Staff
Staff
Hi Dhnaesh - check the Help for information on the command line and HTTP APIs

Interface > Advanced options > Command line options
Interface > Advanced options > ResourcePC HTTP interface
Interface > Advanced options > Resource PC commands

DhaneshP_M
Level 3
Thank you, John!

Could you please explain a little more? Not getting exactly what you meant here.

Best

ewilson
Staff
Staff
Hi @DhaneshP_M,

Yes, this should be possible. One way you might try it is through a combination of Power Apps (to collect any information needed to start the process) and Power Automate (to actually trigger the process). This assumes you expose the BP process as a SOAP web service. However, Power Automate doesn't support calling SOAP web services at this time, so you have to trick it. This article about calling SOAP web service from Postman provides some context regarding this.​ In a nutshell, you're going to create a POST request in Automate and place the body of the regular SOAP request (the SOAP envelope) in the body of the POST request. You also need to specify HTTP Basic Authentication in Automate. It will look something like this:

36420.png


You can use SoapUI to get the properly formatted SOAP body request. All you have to do is enter your BP process WSDL into SoapUI and then copy the generated request body from their and into Automate.

36421.png


Cheers,
Eric

John__Carter
Staff
Staff
Hi Dhnaesh - you can communicate with BP through various mechanisms. If BP is installed on the local machine, the you can use the command line API. Either manually via the CMD window, or more likely, programmatically eg a batch script. If BP is not local, you can use the HTTP API to talk to a BP Resource PC running on remote machine. Thirdly, as Eric says, you can expose a BP process as a web service that can be called from a 3rd party app.

DhaneshP_M
Level 3
Thank you @John Carter and @ewilson!

Sure, will work on this and let you know the progress. Appreciate your help on this.

Best​​

DebashisGhosh1
Level 4

Hi Hi Dhnaesh,

Have you implemented the integration in between blue prism and Power Automate i.e. calling a BP process from Power Automate?

Thanks!

Dg

Debashis Ghosh

ewilson
Staff
Staff

@Debashis Ghosh,

Power Automate is capable of calling RESTful services. If you're on Blue Prism v7 or later, the easiest approach would be to set up your PA environment to work with the Blue Prism REST API.

Cheers,

Eric