Ignorar Navegação
Expandir
  • Pesquisa AvançadaAbre uma nova caixa de diálogo
    Insira os sinais de mais (+) ou menos (-) nos termos de pesquisa para tornar uma palavra obrigatória ou excluída
    Dicas de Pesquisa
    Filtrar por produto
    Filtrar por categoria
Custom Processes must have matching version information between the annotation and included Connect library
Identificação da resposta 8655   |   Revisado 29/10/2020

Does the version information within the comment/annotation section of a Custom Process (CPM) script affect processing?

Environment:

Process Designer, Custom Process Model (CPM) / Service Process Model (SPM)
All product versions

Resolution:

The version information within the comment/annotation section of a Custom Process (CPM) script does affect processing. The following is an example of this required section of a CPM script customization:

/**
* CPMObjectEventHandler: NameOfScript
* Package: RN
* Objects: Incident
* Actions: Create
* Version: 1.4
* Purpose: The documented purpose of the script
 */

This is an example of a matching connect library to include to match the above example:

use \RightNow\Connect\v1_4 as Connect;
use \RightNow\CPM\v1 as RNCPM;

Notice the 'Version: 1.4' matches the version indicated in 'use \RightNow\Connect\v1_4 as Connect'.

Further, the version used in all CPHP code must match, and this holds true for all external scripts used by a CPM customization. Failing to do so in a CPM customization may work in some cases but not others, or may result in unexpected errors upon site version upgrades or patches.

Notificar-me
A página será atualizada no envio. Todas as entrada pendentes serão perdidas.