You are here:
Set Up the Create Case from Referral Flow
Activate the Omniscript flow that creates a case from a referral, and configure the button that users click to start the flow.
Required Editions
| Available in: Education Cloud, Nonprofit Cloud, and Public Sector Solutions. View edition availability. |
| User Permissions Needed | |
|---|---|
| To access the Referral object: | Case Referral permission set OR Education Cloud Full Access permission set |
| To create custom buttons or links and to edit page layouts: | Customize Application |
The create case from referral flow consists of an Omniscript that creates a case from a referral record. The Omniscript doesn’t require customization, but you must activate it. Then, configure the button that starts the flow.
Activate the Create Referral Case Omniscript
Activate the Omniscript that enables users to create a case from a referral by using a guided flow.
- From the App Launcher, find and select Omniscripts.
- Expand SPCM/CreateReferralCase, and then select Create a Referral Case (Version 1).
- Click New Version, and then click Activate Version.
Configure the Create Case Button
Enable users to create a case from a referral by clicking a button on a referral record.
- To create the button, from Setup, in Object Manager, select Referral.
- Click Button, Links, and Actions, and then click New Button or Link.
-
Specify these details.
- Enter Create Case as the label, and then press Tab to populate the API name.
- Select Detail Page Button as the display type.
- Select Display in existing window with sidebar as the behavior.
- Select URL as the content source.
-
In the field formula box, enter the URL for the active Create a Referral Case Omniscript
followed by an ampersand and the contextId for the target object, Referral.
To get the URL, in Omnistudio, go to the active Create a Referral Case Omniscript and, in the highlights panel, click
, and then select How To
Launch. Look for the Lightning URL. The formula looks like this: [Lightning-URL]&c__ContextId={!Referral.Id}
- Save your work.
-
Add the button to referral record pages.
- Click Page Layouts, and then click Referral Layout.
-
Select Buttons, and then drag Create Case
to the Salesforce Mobile and Lightning Experience Actions section of the page.
Note If necessary, click
to override the global publisher layout. - Save your work.
Did this article solve your issue?
Let us know so we can improve!

