cancel
Showing results for 
Search instead for 
Did you mean: 

GET Call on SAP Build Process Automation

suryagautham_b
Explorer
0 Kudos
567

Hello, I have recently started using SAP Build Process Automation and I'm here to discuss about an issue that I'm facing and would appreciate if someone can guide me on this one.

I have created a GET action call in the action library and Published it. When I test it within the action library, it's working absolutely fine and retrieving all the details I'm asking for, using the GET Call. But, when I tried using the same GET call in the workflow automation, it's failing and not retrieving any details. The error I'm getting is "irpa_core.error.ActionRestExecutionError" and all the fields where I'm expecting data are displaying UNDEFINED as the value.

Whereas, I have a POST Call that I've created in the action library and published, which is working like a charm in the action library as well as in the automation workflow.

Can someone tell me how to address this issue.

Thanks in advance,

Gautham

Accepted Solutions (0)

Answers (3)

Answers (3)

Archana
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Gautham,

We will now need to look into details of the use case and how have you implemented it. Please raise an issues in BPI-PA component and we will address this.

Regards,
Archana

suryagautham_b
Explorer
0 Kudos

Archana,

We have already raised a ticket and here are the details - Case ID: 1161101 / 2023, we're awaiting resolution. If you can also look into it, that would be of great help, thank you.

- Gautham

Archana
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Gautham,

It works for me in my environment. Could be some missing configuration. Alternation suggestion: try using Web Service in Automation and see if that works. If web-service works, then please raise a ticket in BPI-PA component and we will look into the issues in detail.

suryagautham_b
Explorer
0 Kudos

Hi Archana,

After seeing your comment, I've tried Web Service in Automation and it still failed. Later, I tried the URL of an open API in the Input Parameters, so that there won't be authorization issues. But still my tests are failing with "exception": "irpa_core.error.Error". Heading in no direction. Still not understanding why an action group that is working in the action library isn't working in Automation window.

Archana
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Gautham,
How are you calling Action inside Automation? Using Action Groups ? Can you tell more details on how are you calling the API using some screenshots. Thanks!

suryagautham_b
Explorer
0 Kudos

Hello Archana,

Yes, I'm using the action Groups.

As you can see in the first image, I've created Destinations (that have already been declared in the BTP Cockpit) under BUILD Project Properties -> Environment Variables and then calling them using the Action Groups as depicted in the second image. Thank you.