You are here:
Create and Deploy a Service Process by Using a Template
Use the Update Profile and Request Leave templates to create service processes that your employees can use to manage their profile information, view their leave balance, and submit a leave request. The service processes help employees maintain their profile information and manage their leaves.
Required Editions
| View supported editions. |
| User Permissions Needed | |
|---|---|
| To access the Employee Hub Service Catalog component: | ProductCatalogManagementCCPsl |
Before you create a service process, turn on New Service Process Definition Sync.
To create a case and associate a service process request with the case, set the field-level security setting of the Case Source field in the Case object. Make the Case Source field visible to the Customer Community Plus User profile.
Set the field-level security settings of the fields in the Omni UI Card object. Make the fields visible to the Customer Community Plus User profile.
Create a Service Process
- In Setup, find and select Service Process Studio.
- Click New Service Process.
- To create a service process from an out-of-the-box service process template, click Create from Template.
- Select the Request Leave or Update Profile template, and click Save & Launch.
- Click Details and enter the basic details such as name, API name, short description, and long description.
-
Save and activate the service process.
You can add images to service processes. See Create Simple Products.
Configure the Submit Leave Request Omniscript Intake Form
- From the App Launcher, find and select OmniScripts.
- Click the SubmitLeaveRequest Omniscript.
- In Omniscript Builder, click New Version.
- Select the GetLeaveBalance remote action.
- In the Remote Action Properties pane, for the integrationDefinition key, enter the value of the integration definition you created during MuleSoft setup.
- Select the SendLeaveDetailsIP integration procedure action.
- In the Remote Action Properties pane, for the svcCatalogItemDefApiName key, enter the API name of the request leave service process you created.
- Activate the Omniscript.
Configure the Update Profile Omniscript Intake Form
- From the App Launcher, find and select OmniScripts.
- Click the UpdateProfile Omniscript.
- In Omniscript Builder, click New Version.
- Select the UpdateProfileIP integration procedure action.
- In the Remote Action Properties pane, for the svcCatalogItemDefApiName key, enter the API name of the update profile service process you created.
- Activate the Omniscript.
Attach the Omniscript to Service Process
- In Setup, find and select Service Process Studio.
- Click the service process you created.
- In the Request Form screen, on the Omniscript Form card, click Add.
- Based on the service process you selected, select the SubmitLeaveRequest or UpdateProfile Omniscript you configured, and then click Add.
- Save your changes, and click Activate.
Add the Service Process to a Catalog
Select an existing catalog or create a new catalog.
- From the App Launcher, find and select Product Catalog Management.
- From the navigation menu, click Catalogs.
- Click New.
- Enter the required information, and select Service Process as the catalog type.
-
Save your changes.
Note down the product catalog ID from the page URL for future reference.
- Click the Categories tab, and click Create Category.
- Enter the required information, and save your changes.
- Select the category you created.
- Click the Related tab, and then click Assign Products.
- Select the service process you created, and click Next.
- Save your changes.
Set Up the Process Employee Service Request Flow
This flow processes a service request after the manager’s approval and notifies the employee about the closure of the associated case.
- In Setup, find and select Flows.
- Click the Process Employee Service Request flow.
- Click the Send Service Request Processed Email element, and then click Edit Element.
- In the side bar, scroll down to the Sender Details section and enter an org-wide email address in the Send Email Address field.
- Click the Send Rejection Email to the Employee element, and then click Edit Element.
- In the side bar, scroll down to the Sender Details section and enter an org-wide email address in the Send Email Address field.
- Click Save As New Flow.
- Enter the required details, and save your changes.
- Click Activate.
Set Up the Approve Employee Service Request Orchestration
This orchestration sends a request for service request approval to the employee’s manager. After the manager takes an approval action, the orchestration updates the approval status on Workday and notifies the employee. Follow the setup steps for the request leave and update profile service processes you created.
- In Setup, find and select Flows.
- Click the Approve Employee Service Request flow.
- Click Save As New Orchestration.
- Enter the required details, and save your changes.
- On the Start element, click Edit.
- In the sidebar, edit the Formula field by replacing the placeholder developer name with the API name of the service process you created.
- Click the Update Manager Decision element, and then click Edit Element.
-
In the side bar, under the Select an Action to Run section, select the Process Employee
Service Request flow you created.
Set these input values:
- approvalDecision: {!AssignCaseToManager.Outputs.approvalDecision}
- integrationDefinitionApiName: <name of your integration definition>
- rejectionMessage: {!AssignCaseToManager.Outputs.approvalComments}
- serviceRequestDetails: {!$Record}
- Click Activate.
Configure the Employee Portal Service Catalog Component
On the Employee Portal site, customize the Service Catalog page by configuring the Employee Portal Service Catalog component. Employees use this component to submit service requests.
- From Setup, in the Quick Find box, enter All Sites, and then select All Sites.
- Next to the name of your Employee Portal site, click Builder.
- From Home, click Service Catalog in the builder page menu.
- In the builder canvas, click Employee Portal Service Catalog.
-
In the Record ID field, enter the product catalog ID that you noted down earlier.
The Record Id field is populated with {!recordId} by default. If you add the Employee Portal Service Catalog component to catalog pages and want the Record Id value to be automatically populated at runtime based on the user-selected catalog, retain {!recordId} as the value. If you add the component to any other page, enter the unique ID of a catalog in the Record Id field. See Locate the Unique ID of a Record in Salesforce.
-
In the Employee Portal Service Catalog window, add custom titles in the Component Title
and All Services Tab Title fields.
To configure other fields, see Customize the Product-Browsing Experience.

