Blue Prism Product

 View Only
last person joined: 10 hours ago 

This community covers the core Blue Prism product.

  • 1.  Expose web service as rest api

    Posted 10-15-2019 14:39
    Hi,

    I need help to expose the WSDL soap Webservice as rest API to use this in chatbots to call the BP process, so please guide me how to do this?

    Thanks Pavani

    ------------------------------
    pavani koduri
    RPA Consulatant
    Pearson
    Europe/London
    ------------------------------


  • 2.  RE: Expose web service as rest api

    Posted 06-16-2020 12:45
    I'm looking for the same thing, did you have any luck @pavani koduri?​

    ------------------------------
    Jay
    ------------------------------



  • 3.  RE: Expose web service as rest api

    Posted 06-17-2020 12:19
    Blue Prism does not support exposing processes/VBOs as RESTful services. We only support exposing them as SOAP web services at this time.

    As a workaround, you could place an API gateway like AWS, Azure, IBM Strong Loop, etc in between your client and your Blue Prism installation. Then you would make a REST request to the gateway and it would translate that to SOAP and forward it to BP. It would handle the reverse translation when BP responds too.

    There's also an option where you can take the SOAP envelope of a regular SOAP request and simply wrap it in the body of an HTTP POST. It's not truly RESTful, but it's close. There's an example of how to do this on Postman's site.

    ------------------------------
    Eric Wilson
    Director, Partner Integrations for Digital Exchange
    Blue Prism
    ------------------------------



  • 4.  RE: Expose web service as rest api

    Posted 09-15-2020 16:30

    Hi Eric, 

    I was wondering if the below scenario can be handled by Blue Prism in a smart way: 

    We are currently using an IT Service Management tool that end-users create tickets, when these thickets are created, I would like them to trigger an Blue Prism Process using an API that the ITSM is using (using REST, and as you're description above it's doable). 

    The BP Process will add the items to a specific Work Queue. When an item is added to the queue, Blue Prism will trigger a schedule (or some tasks, login, execute processes, logout) Is this possible without having a client running? Can the Blue Prism Application Server trigger a client to boot up and run the process?  



    ------------------------------
    David Rubiano
    Senior Consultant
    Capgemini
    Europe/Stockholm
    ------------------------------



  • 5.  RE: Expose web service as rest api

    Posted 12-15-2020 14:27
    Hi Eric,

    If I understood your problem correctly, you have the below requirements:

    1. Add the Item in Blue Prism work queue as soon as the tickets are submitted at the ITSM.
    2. Run the process according to the request added into the queue, as soon as the request is added.

    The above requirements can be fulfilled by following the below approach:

    1. Create a VBO in BP and expose it as web service, which can be called by the ITSM Tool as soon as the the tickets are created - This VBO will just create an entry in your Work Queue.
    2. Make sure that the queue is Active Queue - and create the resource pool and a wrapper process which will be run as soon as the Queue has any pending items in the queue, now depending upon the request type you can code your Process to follow one of the other path as mentioned (or some tasks, login, execute processes, logout).

    This will keep it as real time as possible.

    NOTE: I would suggest to use the VBO for web services to be created with exposure type as Background, and the actual application VBO to be created with exposure type as Foreground so you can utilizes the same resources for Web service and Actual process run both.

    ------------------------------
    Manish Rawat
    Project Manager
    Mercer
    New Delhi
    ------------------------------



  • 6.  RE: Expose web service as rest api

    Posted 9 days ago
    Hello Eric,

    I went ahead and did it with PostMan, following the example you gave us, and it worked perfectly fine.. I was able to trigger the exposed process with the API call.. Thank you for that
    Could you please enlight me with how can we translate this into the BluePrism Web API Service? Not sure how to do it inside BP.
    I really appreciate your help on this one @Eric Wilson 

    Have a great day,​

    *Edit:  To give more background, I tried filling out the information the exact same way in BluePrism Web API Services, I added the headers and all that specified. The only difference between the link on Postman and BP WS, is that in BluePrism I don't find the way to specify that the code is in raw-xml format.. Is that what it's preventing me to make it work?

    ------------------------------
    David Lara
    ------------------------------



  • 7.  RE: Expose web service as rest api

    Posted 9 days ago
    Hi @David Lara,

    So you're trying to use a Blue Prism digital worker (aka process) to trigger another Blue Prism digital worker using a REST request?​ The Web API Service feature of Blue Prism is simply a mechanism that allows Blue Prism to easily call RESTful APIs on other platforms (ex. Blue Prism calling ServiceNow using their RESTful API).

    I'm not sure I see the benefit of trying to have Blue Prism call itself, via REST, when you have the built-in Process stage and AutomateC.

    Am I missing something?

    Cheers,

    ------------------------------
    Eric Wilson
    Director, Integrations and Enablement
    Blue Prism Digital Exchange
    ------------------------------



  • 8.  RE: Expose web service as rest api

    Posted 8 days ago
    Hi @Eric Wilson,

    What I'm doing here is automate the Credentials Update. The thing is that we have multiple environments, DEV/QA/PROD
    The main process will be running in PROD environment. I got a secondary process that is the one in charge of actually updating the Blue Prism Credentials Manager (Using Credentials VBO). What I require is that once the main process finishes, it can trigger the secondary process both in DEV and QA environments.
    I see no other way of communicating PROD with DEV or QA..

    Thank you for your help Eric, I really appreciate it
    Have a great day,

    ------------------------------
    David Lara
    ------------------------------



  • 9.  RE: Expose web service as rest api

    Posted 8 days ago
    @David Lara,

    OK. I understand. So this is all BP-to-BP communication? Is there a specific reason you're adding REST into the mix? Because you could just expose the processes in QA and DEV as SOAP web services and then have the PROD process call them directly. Or have the PROD process call an exposed VBO in each environment and add a work item to a queue within each environment. Then a process can be run on a schedule to address the work item.

    Cheers,


      ​

    ------------------------------
    Eric Wilson
    Director, Integrations and Enablement
    Blue Prism Digital Exchange
    ------------------------------



  • 10.  RE: Expose web service as rest api

    Posted 8 days ago

    Hello @Eric Wilson, thank you for your help

    Yes, it is all BP-BP communication, from PROD to DEV&QA. I was adding it, since I didn't knew about another way to call you one Process in DEV/QA from a running process in PROD. No specific reason
    I already got the process exposed as SOAP Web Service​ in both DEV/QA, How am I able to make the process call them directly?

    I tried going through that second way, but our Application Manager didn't loved the idea of having a schedule in DEV or QA. That's why I was searching for other ways, if the first one you commented: "just expose the processes in QA and DEV as SOAP web services and then have the PROD process call them directly."  works, it will be the best approach to get there 

    Once again, thank you for your help Eric,



    ------------------------------
    David Lara
    ------------------------------



  • 11.  RE: Expose web service as rest api

    Posted 8 days ago
    @David Lara,

    To set this up for SOAP you'll want to do the following:

    1. In your QA and DEV environments you want to expose the specific processes as SOAP web services. I think you said you've already done this, but if you haven't you just go to System -> Process -> Exposure and then click Expose a Process on the right side of the screen. Then follow the prompts in the wizard.
    2. Once you have that done, you want to go to your PROD environment and open a browser on a machine that has the Interactive Client installed.
    3. Enter the following in the browser address bar: http://<IP or Hostname of a DEV runtime resource>:8181/ws/ (if you have certificates set up on your runtime resources you'll need to use "https"). This will pull up the list of exposed Processes and Objects in the DEV environment.
    4. Click on the link that matches the process you want to execute within the DEV environment. This will take you to the generated WSDL for that process.
    5. Copy the full WSDL address from the browser address bar.
    6. Within the Interactive Client, go to System -> Objects -> SOAP Web Services and click Add Service on the right side of the screen.
    7. Paste the address of the DEV process WSDL into the prompt and then following the rest of the wizard prompts. Make sure to select the option to enter HTTP credentials because BP SOAP services require Basic Auth.
    8. Repeat steps 3 - 7 for the QA environment process.
    Once you've completed these steps you will now see those processes available as Objects within an Action stage. Just drop an Action stage on a canvas and in the Object dropdown scroll to the SOAP Web Service section. Your services should be displayed there. 

    FWIW - There's a free training courses about Blue prism and web services available on Blue Prism University. You can find it here.

    Cheers,

    ------------------------------
    Eric Wilson
    Director, Integrations and Enablement
    Blue Prism Digital Exchange
    ------------------------------



Welcome to the Blue Prism Product Community!

Whether you’re looking to manage a complex infrastructure, maintain security and compliance, bring new products to market faster, or gain operational speed and agility in an uncertain economy, Blue Prism delivers — with the flexibility you need to create the business you want. From deployment on-premise, through a cloud service provider or as SaaS, to a skillful and adaptable digital workforce that continually expands to meet your enterprise needs, you can gain enhanced operational insight and control while your people reclaim the time they need to focus on great work.

Product PageKnowledge BaseBlue Prism Training Offering

FAQs

Blue Prism is intelligent automation — business-developed, no-code automation that pushes the boundaries of robotic process automation (RPA) to deliver value across any business process in a connected enterprise.

A combination of RPA with expanded cognitive and AI capabilities, Blue Prism is different than other automation technology on the market. With one Blue Prism license, you gain instant access to an already AI equipped digital workforce, along with the tools you need to build and delegate automations. Click here for more information on Blue Prism and Intelligent Automation.
To learn more about how Blue Prism can help your organization and how much it will cost to get started, please Contact our Sales department.
Blue Prism can be downloaded from our customer portal. If you would like to consume or download any material it is necessary to create an account on the Portal. Once you have registered, you can access the download options for Blue Prism here.
Yes! Installed on your own machine and supported by our training materials and product documentation, you can use all the features of the full enterprise product for free with our Blue Prism Trial – giving you the opportunity to learn the basics before moving to a full production implementation. Click here for more information and to download the trial.
Yes! You can access our known issue list for Blue Prism from our Support Portal.
Regardless of your industry, Blue Prism’s Digital Workforce can adhere to strict governance and compliance standards without limiting productivity. Click here for more information on how your industry can benefit from Blue Prism.