Starting a AARI Process from within a Bot

  • 2 November 2023
  • 2 replies

Badge +1

I created a process that starts with a form. I want to be able to start this process from within a bot. The bot will pass the input parameters to the process which will be displayed in the form. A human will then read the form and click submit. Then another bot will continue the work.

I get the following error when I try to run the bot that calls the process. Any idea how to fix it?


util.Exception4xx: http://ecrs-vm/aari/v2/requests/create?mode=bot request returned error 400 {"message":"This process can't be created by a bot. Please ask to your AARI admin to configure this right","details":"","correctiveAction":"","code":"","componentErrors":{}}




2 replies

Badge +1

Userlevel 7
Badge +13

Hi @mohamed.badran ,


Please follow the below steps.

  • Log into the AARI Admin UI. (This will be in the format "https://<ControlRoomURL>/aari"")
  • On the left-hand pane, under "Manage", click on "Process".
  • This will load the page with the list of processes, select the process which you are trying to invoke.
  • The "Edit Process" window will now be displayed on the right-hand side.
  • Click on the '+' symbol as per the screenshot below and add the team's name.
  • This team name should include the user that you are using to trigger the process.
  • Also ensure that you select 'by bot' in case you use a bot to trigger the process, otherwise, select 'by user'.



You may also refer this.