Triggering a CPI process from SuccessFactors Intelligent Services
Background: In Intelligent Service Center (ISC) we have a dedicated option to connect an Integration Center process from the events. But if we want to connect CPI processes from the Intelligent Service Center we don’t have a straight forward option. In this blog I would like to explain how can we connect a CPI process based on the ISC events.
I am using the ISC event ‘Change in Manager’ to explain this scenario.
Now, if we click on this specific event from ISC this will take us to the detailed screen below. In this screen we have an option called ‘Event Connector’ and that can be used to connect CPI Process.
This will bring us to the next screen where we can enter the CPI process details using the ‘New Event Connector’ option. We need to enter a Name, the endpoint url of the CPI process and the authentication details. I have used the ‘Basic Authentication’ here. Please find the screen shot below for your reference.
Now the CPI process which we want to connect from ISC, should be a SOAP based process. You can use the WSDL provided by SAP in the Intelligence Service Center document to build this CPI process. You can find the sample WSDL in the SAP Intelligent Service Center Document.
Once you deploy this process in CPI you should find the endpoint url in the CPI overview screen. That needs to be entered as the endpoint earlier stated above in the event connector.
As the setup is now completed you should be able to trigger the CPI process now from the event. We have changed the manager for an employee so the ISC event got triggered. This can be checked further from the event monitoring in ISC.
To check the next step if the CPI process is triggered, we need to check the transaction called ‘Event Notification Audit Log’ in SuccessFactors.
You should also look further and check your CPI process got triggered.
The inbound message should be as below. You can make further API call based on this message.
Here we have achieved the trigger from SF to CPI using Basic Authentication. But if you want to do this using Oauth please check the below blog.