Skip to main content
Question

Starting a AARI Process from within a Bot


Forum|alt.badge.img+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

Forum|alt.badge.img+1

Padmakumar
Forum|alt.badge.img+15
  • Flight Specialist | Tier 4
  • 807 replies
  • November 28, 2023

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.

 

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings