Loading
Service Process Studio
Service Process Studio Preprocessors

Service Process Studio Preprocessors

A preprocessor represents business logic that must be run before creating a case for a service process request. For example, business logic for a checkbook request rejects a new request if there's an active request pending.

Required Editions

Available in: Lightning Experience
Available in: all editions with the Industry Service Excellence licenses

Developers can create an Apex Class to implement the business logic required for a service process. Build this Apex class by implementing the ServiceProcessRequestPreProcessor Interface to ensure that they’re visible in the Service Process Studio to associate with a service process definition.

Also, as an admin, ensure that you associate this Apex Class to the required service process definition in the Service Process Studio so that the Service Catalog Request Connect API invokes this Apex class automatically when a case is created for the relevant service process request. The following example illustrates associating an Apex Class with a service process definition in the Service process Studio.

APEX Class
 
Loading
Salesforce Help | Article