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

Could someone help me identify the error in the trigger script?

Received Response
13
Views
7
Comments

Summary:

We have a requirement to automatically change the status to "Resolved" for service requests with the subject "FYI: Termination" when they are assigned to a specific queue and we are using Classic Helpdesk.

For this, we added a trigger of type "After Transaction Posted" in the server script for the Service Request object, but it is not functioning as excepected.

if (QueueId == '300008995681606' &&

Title && (Title.contains("FYI: Termination")) &&

(StatusCd == 'ORA_SVC_INPROGRESS' || 'ORA_SVC_NEW') && StripeCd == 'ORA_SVC_HCM'

)

{setAttribute('StatusCd', 'ORA_SVC_RESOLVED')}


Could someone help me identify the error in the trigger script?

Content (required):

We have a requirement to automatically change the status to "Resolved" for service requests with the subject "FYI: Termination" when they are assigned to a specific queue.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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