You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

CPM Testing and version error

Received Response
5
Views
1
Comments
edited Nov 9, 2016 7:46AM in Integrations and APIs 1 comment

Content

Hello, 

I am trying to test a custom process script (the example in the documentation), upon testing in the desktop agent i am getting the following error: "capture 1" - i changed the version to v1_3 and i am getting another error, please what i am doing wrong ? can it be fixed ?

 

Regards

Version

May 2016

Code Snippet

             <?
 
/*
* CPMObjectEventHandler: organization_create
* Package: OracleServiceCloud
* Objects: Organization
* Actions: Create
* Version: 1.1
*/
 
// This object procedure binds to v1_1 of the Connect PHP API
use \RightNow\Connect\v1 as RNCPHP;
 
// This object procedure binds to the v1 interface of the process
// designer
use \RightNow\CPM\v1 as RNCPM;
 
/**
* An Object Event Handler must provide two classes:
* - One with the same name as the CPMObjectEventHandler tag
* above that implements the ObjectEventHandler interface.
* - And one of the same name with a "_TestHarness" suffix
* that implements the ObjectEventHandler_TestHarness interface.
*
* Each method must

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!