cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Cloud Platform Workflow: Required certificate while invoking business rule

0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Archana
Product and Topic Expert
Product and Topic Expert
0 Kudos

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.

0 Kudos

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.

Archana
Product and Topic Expert
Product and Topic Expert
0 Kudos

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 Kudos

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.

Archana
Product and Topic Expert
Product and Topic Expert
0 Kudos

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 Kudos

Thank you Archana.

0 Kudos

Hello Monika,

I am assuming you have read following blog from muralidaran.shanmugham2 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

0 Kudos

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.