PATCH Operation through Groovy script to update the Queue id of an SR — Cloud Customer Connect
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

PATCH Operation through Groovy script to update the Queue id of an SR

Summary:

Hello Everyone,

For our scenario, We are getting the Queue id from an external system through API.

In the Before Insert trigger we are receiving the Queue id and trying to set to the Assigned Queue id field. However with the normal requestor (Helpdesk user) role it looks like they don't have the privilege to update the Queue field and trigger is failing . (trigger is working for agent login.)

As a alternate , was thinking of registering the fusion SR Rest api (register with Basic auth with the user who has permission). And invoke the PATCH method from the before insert trigger.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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