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

Process Designer - ObjectEvent Handlers

Accepted answer
26
Views
8
Comments
edited Jun 8, 2022 12:01PM in General Technical Discussions 8 comments

Content

I am writing code in Object event handlers and want to get the Inicident fields like Queue, Category Id, Primary Contact from Incident That I create from agent desktop

As Queue is NamedID field and Category is a NamedIDHierarchy Field, I don't know how to write coe to get these fields based on the Ref number of the Inicident that I create

I need to use there fields to pass in to CURL PHP.

I am using below code to get ReF number of the Inicident and using in an ROQL query

$CaptureRefId  is getting the Ref number

$CaptureRefId = $object->LookupName;

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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