Quantcast
Channel: SCN : Blog List - All Communities
Viewing all articles
Browse latest Browse all 2548

End-To-End Integration with SAP Successfactors Cloud HCM Intelligent services

$
0
0

This document guides you through End-to-End Integration & setup of SAP Cloud HCM Intelligent Services. For Integrating Successfactors Intelligent services we used third party cloud Middleware (Boomi) platform. Boomi platform will host SOAP based Web-services that will be consumed by Successfactors Intelligent services.

 

Here are few assumptions:

*********************************

Intelligent services are enabled in your Instance from Provisioning tool.


Proper RBP settings are enabled in your demo Instance to Setup/Access Events (Intelligent Services). Detailed Instructions can be found in Admin/implementation documents.

 

Admin document reference: https://websmp205.sap-ag.de/~sapidb/012002523100013479612015E

Implementation guide: https://websmp101.sap-ag.de/~sapidb/012002523100013990962015E

 

Step by step procedure to raise Intelligent Service Events from EC.

 

1) Per recommendations in Administration guide (Publishing Events Using SuccessStore), please import pre-defined Smart rules into demo Instance using Admin tool.

     Screen Shot Import Rules.png

 

2) Verify rule are successfully imported into demo instance.

Screen Shot 2016-01-29 at 12.31.23 PM.png

3) Associate Imported rule to entity that should trigger this event. In our test we used "Change Manager event" service.

     Admin Center >> Manage Business Configuration >> JobInfo >> Trigger Rules  >> Save

 

     Make sure for Base Object, Job Information Model is selected.

 

    Trigger rule definition.png

 

4) Next, define Subscriber that will consume this Intelligent service.

Admin Center  >> Event Notification Subscription >> Subscriber Tab >> Add Subscriber (top corner). Provide Subscriber Id, Name. Group and Client are  optional fields and then click Save.

Subscriber Define.png

5) Define Event Listener (SEB External event). This is the final step in EC to define Subscriber and Event notification.

Authentication to Webservice (SOAP based) is Basic. End point to Notification URL for this example is defined in Boomi Platform.

 

 

 

Event Listerner definition.png

 

Now that we have completed Intelligent services setup in EC, its time to define Event Listener in Third Party platform. We used Boomi Platform for this demo but it can built in any middleware.

 

Define Webservice Listener in Boomi Platform. Complete steps are attached in document.

 

Step 1: Select Web Service Connector object from design pallet. Set Action as Listen

Screen Shot 2016-01-29 at 3.14.08 PM.png

 

 

Step 2: Add operation to Connector. For this test I loaded Request and Response from Intelligent Service Implementation Guide. Request and Response profiles are attached.

 

Screen Shot Webservice Operation 15-19-23-824.png

 

Step 3: Mapper that consumes Request from Intelligent service and format’s return response for Confirmation. Sample request and response are attached for reference.

 

Request-Response Map.png

 

 

Complete Boomi Process.png

 

Step 4: Deploy Boomi process and set Web-service settings. Make sure Authentication is [Basic] and create user/token for Web-service authentication. This Username and Token is what is used in EC Subscriber/SEB External Event settings.

Boomi Webservice Settings.png

This completes SOAP Web-service setup in Middleware.And now Web-Service is ready to Intelligent service Events.

 

As mentioned earlier for this exercise we are going to use "Change Manager Event" Intelligent Service. To fire this event (Change Manager) we will have to "Take Action" on any Employee in EC and change his/her supervisor. It is assumed that when we "Take Action" in EC workflow steps are followed. After workflow steps are complete Event will be raised in Employee central.

 

If all the steps are followed an Event should raise in EC. Event raised can be viewed from Event Notification Audit Log under Admin Tools/Center.

 

Admin Center >> Event Notification Audit Log.

 

Screen Shot Event Notification 17-33-48-834 17-35-29-126 17-37-14-817.png

 

 

To see that service is successful invoked, view Event details and check request and response.

 

SOAP Request:

Manager Change Request.png

 

SOAP Response:

Manager Change Response.png


Boomi Web-services log showing that Intelligent Service was able to trigger Event upon Manager change in EC.

Boomi Logs.png

 

 

-Bhargav


Viewing all articles
Browse latest Browse all 2548

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>