What is the Process Designer / Custom Process Models (CPM) functionality?
Process Designer, Custom Process Model (CPM) / Service Process Model (SPM)
November 2012 version and newer
The Process Designer / Custom Process Models (CPM) feature allows associating PHP script with object events. Business logic can be migrated to PHP code, so effectively, business rules can be performed on Custom Objects. The custom processes are predefined object event handlers (PHP scripts) that run as the result of an event occurring on standard or custom objects in Oracle RightNow CX Cloud Service. Object event handlers can also help your organization automate tasks based on the events that trigger them.
Object event handlers are added and managed on the process designer in a virtual container called the process model. Once you add your object event handlers, you will need to deploy the process model in order to use the object event handlers in Oracle RightNow CX to automate tasks based on the events that trigger them. Since the process model is not written to the Oracle database until it is deployed, you can take your time when adding object event handlers. When you are ready to test the process model, you can export it and import it into a non-production site. When you are finished testing the process model, you can export it from your non-production site, import it into your production site, and deploy it.
The Custom Processes feature is automatically enabled in the August 2013 release. However, permissons will still need to be enabled at the profile level. To enable permissions, edit the profile. Open Configuration -> Staff Management -> Profiles, select the profile, click Permissions in the ribbon, check Process Designer in the Administration section. Save and close the profile.
After the permission has been set, the component may have to be added to the profile's navigation set. The component is called Process Designer. It is usually found under Configuration -> Site Configuration.
To add a new process:
- Click New in the ribbon
- Enter a name for the process
- Enter the PHP code file by clicking the folder icon and selecting the file. Click Open. Note that supression should be used on update handlers.
- Click Save
- Click Test. If there are errors they must be resolved before the code can be used as a handler. Note that the code must be changed remotely and reloaded after each failed test
- If the test passes, the code may be used as a handler for a model.
For more information, see 'Adding object event handlers'.
For additional information, refer to the 'Custom Processes Overview' section in online documentation for the version your site is currently running. To access Oracle Service Cloud manuals and documentation online, refer to the Documentation for Oracle Service Cloud Products.
See also the Oracle Service Cloud Administrator > Custom Processes tutorial available from the documentation overview answer for your version (above link).