Hello Experts,
I am working on an automation in SAP Build Process Automation (BPA) where we need to fetch data from an API and include it in the body of an email. Without the use of Agent.
Here’s the scenario:
However, we are facing an issue because the data size exceeds the 100 KB limit for the script task in BPA,
"Script Task" failed
Error message: Execution of task 'script_1' has been stopped while executing the statement [<...], as it reached the time limit
. The API response can contain a large number of records, and converting this into HTML is causing the script to go beyond the allowed limit.
Here is the script we are using
Could you please suggest a solution or workaround to handle this limit exceeded error? Some ideas we are considering include:
Any guidance or examples would be greatly appreciated. Thank you!
Request clarification before answering.
Hi,
I have the same problem, because I was asked to implement a process that has to parse a CSV file coming from an external service and extract some information from specific columns.
After some research I have found that this problem has been reported as a BPA Issue: problem: https://userapps.support.sap.com/sap/support/knowledge/en/3593613
Considered:
I will strongly suggest to implement a micro-service written in Node.js and deploy it to Cloud Foundry. BPA processes should be only used for the Actions (calling your micro-services), Forms and Approval Forms. Or if you are familiar with UI5/Fiori I would suggest you to write your own interface to have more flexibility.
I have the impression that the No-Code or Low-Code approach is only valid for very basic tasks...
Cheers,
Carlo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.