cancel
Showing results for 
Search instead for 
Did you mean: 

SAP BPA Process Started but automation not triggered

CPI_Basis
Explorer
0 Kudos
346

I have created an automation which reads email from outlook, get body and subject pass it to an AI API which extract info from that body. 

Executing Manually the automation working perfectly fine.

CPI_Basis_0-1725810922893.png


Then I created a process with API Trigger and testing it API trigger following this tutorial
https://developers.sap.com/tutorials/spa-run-process-api-trigger.html

My Process:

CPI_Basis_1-1725811049295.png

API is triggered successfull.

CPI_Basis_2-1725812550605.png

In monitoring it shows process running and in logs my automation is also started but nothing is happening like outlook instance open - email search etc.

CPI_Basis_3-1725813442886.png

 

Am i doing anything wrong ? 
Can anyone help , i want to trigger this automation using API.

 

 

eshrinivasan
Developer Advocate
Developer Advocate

Hi @CPI_Basis, There are 2 things you could check. 1) Make sure if the Process Automation project(from settings icon) has a version equal to or less than the Desktop agent version 2) The Agent Mode is "Unattended".

CPI_Basis
Explorer
0 Kudos

Hello @eshrinivasan,
Yes the agent version is same

CPI_Basis_0-1725896334504.png

 

I changed the bot to "Unattended" and test but same result

CPI_Basis_1-1725896097890.png

Trigger the API from POSTMAN, and in monitioring status is running and logs also showing that my automation is started but nothing is happening.

CPI_Basis_2-1725896213794.png

 

CPI_Basis
Explorer
Hi @Sankara1, can you help
sasbro
Explorer
Similiar experience as you. It also says started but nothing ever happens. Do I need an agent for this? The automation only contains actions.
CPI_Basis
Explorer
0 Kudos
@Chaitanya_Priya can you help ?

Accepted Solutions (1)

Accepted Solutions (1)

CPI_Basis
Explorer

Issue is resolved.

Solution:
In monitoring and jobs logs i was getting this error 
"Maximum number of concurrent execution reached". 
Issue was with the service plan in BTP-SubAccount-Entitlements.
"automation-unattented" & "automation-attented" were not added to service plan. After BASIS added it to subscription it was working.

Go to Monitoring -> Automation Overview -> Ongoing Jobs -> Click on any running job -> Check the error message.

1- Also make sure Agent is added to the Environment
2- Agent maganement setting is configured.

Answers (1)

Answers (1)

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

WHat do you mean your automation only has actions (so maybe does not need agent)? Every automation is run with an agent.

sasbro
Explorer
0 Kudos
So I need a very expensive agent to run some REST calls because the normal actions do not allow to use expressions for input fields? Thats horrible. I just wanted to use 4 REST calls with the input of each other but because it is OData I need to change the filter to something with a static string I define and the variable I get from the previous call and it's not possible with actions. I can only do this in an automation. And for that I need an agent then that is, as I said, very expensive?
CPI_Basis
Explorer
0 Kudos
The automation continues to stay in 'started' mode and overall process in 'RUNNING' mode. Agent is in unattended mode