Skip to Content
0

SAP Cloud Platform Workflow: Required certificate while invoking business rule

Feb 22 at 11:45 AM

71

avatar image
Former Member

I am trying to create a Workflow in SAP Cloud Platform with service task whick invoks the business rule. In Postman, business rule URL is working correctly.

When I run the workflow instance via Fiori Launchpad, it fails with error 'required certificate'.

Any help and hint is appreciated.

capture1.png (86.3 kB)
capture2.png (122.1 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Arpit Oberoi Feb 22 at 12:47 PM
0

Hello Monika,

I am assuming you have read following blog from Murali Shanmugham which has steps for invoking rules.

User Self Registration

In this blog he mentioned following:

Invoke Rules:

This is a service task which allows us to make a HTTPS call. Before we begin, we need to maintain a new destination in the SAP Cloud Platform cockpit. There is a current limitation with AppToAppSSO between Business Rules and Workflow service. Hence, look for the destination “bpmrulesruntime”. This would be already available once you activated the rules service. Copy the destination and change the authentication type to “BasicAuthentication” as shown below.

Regards,

Arpit

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Arpit,

Thanks, I have created a destination with basic authentication for 'bpmrulesruntime' still facing problem with SSL handshake certificate and while checking the connection it gives 404 error. I have tried to get the certificate and upload it under the key store option but still it doesn't help.

0
Archana Shukla
Feb 23 at 05:06 AM
0

Hello Monika,

You can follow my blog where I clearly explain what all you need to do to call rules from service task in workflow:
https://blogs.sap.com/2018/02/02/using-business-rules-in-sap-cloud-platform-workflow/

The destination that you have used must be BasicAuth and not ApptoApp or SAML based.

Show 5 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Archana,

Thanks, I have followed you blogs and tried with basic authentication with user credentials still we are facing problem with SSL handshake certificate and while checking the connection it gives 404 error. I have tried to get the certificate and upload it under the key store option but still it doesn't help.

0

What is your landscape?

- Factory/Canary/Trial?

- Are you using any IDP?

- It seems you have written the rules on trial, then in which landscape is your workflow modelled?

- How are you invoking the workflow: in client like POSTMAN, in custom application or integration flow?

0
Former Member

Hi Archana,

My problem got resolved by uploading the certificate in cloud account. Now when my workflow gets completed and after the actions(approve/reject) from my inbox, the status is showing 'Running'. Is the status changes to completed or remains running? Please help.

0

Yes the status will change to completed when the workflow would be completed. You wont see the completed workflow instances from Monitor Workflow app, you can see that via the public API. We will soon release the feature where you can filter the completed workflow instance as well.

0
Former Member

Thank you Archana.

0