Set up webhook for the SuccessFactors spoke
Configure a webhook to subscribe to your SuccessFactors account with a ServiceNow callback URL.
Before you begin
- Set up the SuccessFactors spoke v4.x.x
- Role required: admin
Procedure
Configure the default decision table.
Navigate to System Definition > Decision Tables.
Search for the record,
Successfactors Webhookand open it.In the Decision Inputs tab, open the Webhook Event record.
In the Choices tab, create record for the event for which you want to subscribe. For example, enter
Employee Time Offin Label and Name to subscribe to the Employee Time Off events.Navigate back to the
Successfactors Webhookrecord.In the Decisions tab, open the Default Decision record.
Select the required webhook event in Condition and select the subflow in Answer.
When the specified webhook event occurs, the associated subflow is triggered.
Note: You can customise the default subflow or create a subflow as per your requirement.
Create a webhook registry.
Navigate to SuccessFactors Spoke > Webhook Registry.
Click New.
On the form, enter
SuccessFactors Webhook Authenticationfor Name and provide Description.Note: The Name of the webhook registry must be
SuccessFactors Webhook Authentication.Click Generate Username and Password.
Username and Password are generated and the values are displayed.
Copy and record the values of the generated values for later use.
Copy and record the value of Resource path.
Navigate to System Web Services > Scripted REST APIs.
Search for the record,
SuccessfactorsWebhookand open it.In the Resources tab, click the processWebhook record.
Copy and record the value provided in Resource path.
Configure events in your SuccessFactors instance.
Log in to your SuccessFactors instance and navigate to Admin Center > Event Notification Subscription.
In the External Event tab, provide these values:
Field Description Endpoint URL ServiceNow instance endpoint URL in this format: https://<servicenow-instance>.com/<resource-path>Authentication Select Basic. User User name generated when the webhook registry is created. Password Password when the webhook registry is created. Configure the subscriber in the Subscriber tab as per your requirement.
Select the required Service Event Bus Topic in the SEB External Event tab as per your requirement and select the events for which you want to receive notifications. For example,
Employee Time Off.