on 12-14-2023 12:47 AM
Hi Experts,
I am facing an issue with POST call using Action in Build process automation inside a Process flow or inside an automation. It is working fine when tested using Action editor.
When I am using post method(Act on Entity) of the Action Group created for External approval API(SAP delivered) for Ariba SLP integration inside a process flow or automation it gives 500 "Internal-api-error". Reviewed the parameters and compared them with Action Editor inputs which is working fine but there is no difference. Destination used is working fine in GET call for same Action group.
Please advise if there is a way to trace network call from RPA/Process flow or some place where I can check it whether it is failing in Ariba or connection is not getting established.
Regards,
Jay
Hi All,
Issue has been resolved, I had to update action in Action Project editor for adding "comments" inside "options" in BODY of the input .If not added it appears as below and not available for mapping in when you use action in in your project.
Observation is when tested used in Action Project ->Test option , SAP does not allow you to input it but sends empty property.
Adding screenshot for reference.
Regards,
Jay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great, Thanks Jay for putting the answer. Please select the correct answer and close this question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jay Sharma,
If you are using Action Group then the API call will not while testing the Automation as they need connection to the destination. Have you deployed the project and tested ? Also have you tested the Action from Action Project to ensure that it works. Also when you are running this successfully from any rest client like POSTMAN, please also ensure that you have used right header parameters or authentication protocol.
Hope that helps,
Archana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Archana,
Thank you for quick response.
I checked deploying the automation and running it, Job is failing with same error 500(Internal-api-Error).I have compared all parameters with Action Project Editor(Success) and those are same.
I tried multiple approach for this automation:-
Option 1 : Use POST action using action group in Process flow. (Deployed and tested with same error) Attached is screenshots
Option 2: Use POST action using action group in Automation itself. (Deployed and tested with same error) Attached is screenshot
Using Action Project Test Option, it is working fine and able to approve task in Ariba.
Test using POSTMAN is also successful with same parameters.
Regards,
Jay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.