We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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 - Validation failed on create of a Incident

Received Response
6
Views
23
Comments
edited Dec 7, 2017 1:35PM in Integrations and APIs 23 comments

Content

Please see image for the error and the code block for the code - any reason for this?

Code Snippet

             <?php

/**
 * CPMObjectEventHandler: MinimalIncidentHandler
 * Package: RN
 * Objects: Incident
 * Actions: Create, Update
 * Version: 1.2
 * Purpose: Minimal CPM handler for incident create and update.
 */
use \RightNow\Connect\v1_2 as RNCPHP;
use \RightNow\CPM\v1 as RNCPM;

/**
 * Handler class for CPM
 */
class MinimalIncidentHandler implements RNCPM\ObjectEventHandler
{

    /**
     * Apply CPM logic to object.
     * @param int $runMode
     * @param int $action
     * @param object $incident
     * @param

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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