Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 
Product and Topic Expert
Product and Topic Expert
In this blog , I will explain how you can gain visibility on your end to end process running in SuccessFactors using SAP Cloud Platform Process Visibility. Consider a scenario where HR head of an organization needs to gain visibility on the Recruiting/Onboarding process running in SuccessFactors. In order to optimize the process and identify bottlenecks, he needs to understand average time taken to fill an open position , time taken to onboard a new hire, job offer acceptance rate etc.Let's see how process visibility service can help providing these insights.

To provide visibility on processes that span across systems, the applications must push events. These events are consumed by process visibility to provide insights on your running processes. As the candidate moves through the talent pipeline starting from when a Job application is submitted to Interview, Offer Accepted/Rejected,Onboarding event is published. In this blog, you will see how we can subscribe to one such event in SuccessFactors, transform it into the required format & push it to process visibility service to help gain insights on the process.


  • Setup SAP Cloud Platform Process Visibility service in your Cloud Foundry account. Refer   blog  for details

  • You have Admin, Developer and Operator roles of process visibility service assigned to your user

  • You need access to

    • Intelligent Services Center in SuccessFactors. For more information, refer document

    • Integration Center. For details, refer user guide

Event format supported by Process Visibility

Applications can push events to Process Visibility in the format given below. To know more about the event structure ,refer help document

Sample event 

Push Events from SuccessFactors

Events from different modules like Recruiting, Onboarding in SuccessFactors are published in the Intelligent Services Center in SuccessFactors. You can subscribe to one or more of these events and define an action to be performed when the event is observed. This can be done in SuccessFactors Integration Center. Follow the procedure given below, to build an Integration definition to push events to process visibility service

  1. Navigate to SuccessFactors Integration center and click on the tile My Integrations

  2. Click Create button and select More Integration Types to create a new integration

  3. In the Integration Type screen, select the following & then click Create button

    • Trigger Type: Intelligent Services

    •  Destination Type: REST

    •  Source Type: SuccessFactors

    •  Format: JSON          

  4. Filter and select event Update Job Application

  5. Provide a name for the Integration definition & click on Next Button.

  6. In the Configure Fields step, add the event as described in section. You can look at the preview to verify the structure. Each attribute can be assigned a static value or you can choose to map it to one of the fields exposed by the event.

  7. You can further filter out values if needed to push more fine granular events. eg. Update Job Application event is published when the candidate moves across the different stages like Interview, Offer ,Onboarding etc in the Talent pipeline. You can apply filter on the status attribute to push granular events like Offer Created, Offer Accepted etc

  8.  In the Destination Settings, enter the following.

    • REST API URL: < pv_rest_url>/rest/v1/data-acquisition/data.

    • Note: From the service keys created for process visibiity service as part of the setup, fetch <pv_rest_url>. For more information on the data acquisition API, refer documentation

    • Authentication Type: OAuth

    • HTTP Method: POST

    • Click on the link 'Click to Manage OAuth configurations'

  9.  Add a new Outbound OAuth configuration with details given below.

    • OAuth Type: OAuth 2.0

    • Grant Type: Client Credentials

    • Client ID , Client Secret and Token URL:  All these parameters can be fetched from the service key created for process visibility service as part of the setup. Refer to the screen shot below

    •  Save the configuration and navigate back to the Integration definition that you are creating.

  10. Click Run Now to execute the integration. This action will push a sample event to Process Visibility

  11. To push events in real time, you need to link this Integration definition in the Intelligent Services  Center so that it is invoked whenever the event is published. For more details on how this real time processing can be achieved., refer blog

Monitor acquired events

You can monitor the events acquired by process visibility service using Event Acquisition application. You need to have Admin role to see this tile in your launchpad

  1. Click on Event Acquisition application       

  2. Apply filter on process definition ID to get all events acquired for this process

Create and Configure Business Scenario

  1. Open the Configure Business Scenarios application. You need to have Developer role to see this tile in your launchpad

  2. In the editor, you will see all the available business scenarios. Create the new business  scenario clicking on + . In the popup, enter the name and ID automatically gets filled.

  3. Navigate to the business scenario.

  4. Click on Add Observed process. Provide a Process Definition ID and Process Name. Click OK. Process Definition ID should match the value being passed in the event from SuccessFactors

  5. In the right pane, click on + to add a new event.

  6. In the Add Event dialog, enter Event Type & Event name as shown below. Event Type should match the value that was pushed along with the event

  7. Click on + to add the context fields. Ensure that the path defined for the context attribute matches the name of the attribute sent along with the event.

  8. Click on State tab and configure Onboarding Completed as End event.

  9. Configure the Target for business and threshold by clicking on Status tab.Target defines the expected time by when a scenario instance must be completed. In this scenario I have defined target to be constant but it can be configured to take in a dynamic value as well.

  10. Click Attributes tab and add a new calculated attribute 'Onboarding  Cycle Time' as shown   below. This attributes helps determining the time taken to onboard the new hire.Using this        calculated attributes, we can define a performance indicator.

    • You can refer to the documentation on help portal to learn how you can define calculated attributes and also know the different expression types that are supported.

  11. Click on Performance Indicator tab and add a new performance indicator as shown below.

  12. Save and Activate business scenario.

  13. Access process workspace for your scenario and drill down into performance indicators, phases, and current running instances to get more details.     

  • You can drill down to look at all critical instances

  • You can further select an instance from the view and look at its Path. The path indicates the flow of events in the order of occurance and helps identifying the cause of delays if any.

Monitor Scenarios

Using Monitor Scenarios application, you can manage the activated business scenarios.You need to have Admin role to see this tile in your launchpad.

Events acquired are automatically scheduled for processing on scenario activation. The schedule frequency is 5 mins. This feature is however not available in Trial landscape and you will have to manually process data for a scenario.

Process Visibility service  helps gaining insights on your process running on on premise, cloud or  hybrid environment. Applications can push events which are then processed by the service to provide operational insights. It is fairly simple to subscribe and setup the service on your Cloud Foundry account. The service also offers a host of applications like Configure Scenarios, Monitor Scenarios & Event Acquisition & Process Workspace that simplifies the overall experience to quickly build a solution.
1 Comment
0 Kudos
Hi Sandhya,

We have faced the following issues(Trial Account):

1.We have referred to a blog on Custom Scenario of Lead to Cash Application , but are not able to import the events in Event Acquisition Tile. We are getting success message, but events are not getting imported.

2.We are not able to push events from our custom workflow also.

Kindly help us here.