Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

VA: assingment group not updating in create ticket topic

akarshagnihotri
Tera Contributor

I'm using VA create incident oob topic block to create incident, it working fine, but when I'm checking in incidents for those created incident it's showing assignment group different not the one which I'm passing though it's updating other details correctly like short desc. and priority, how to fix that?

3 REPLIES 3

swathisarang98
Giga Sage

Hi @akarshagnihotri ,

 

Could you please share the code which you have written for this ?

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang

 

Hi Swathi, 

I'm using inbuilt topic block, but still I'm giving function below:

 

(function execute() {
var incident = new GlideRecord('incident');
incident.initialize();
incident.caller_id = vaInputs.caller;
incident.sys_created_by = vaInputs.user;
incident.short_description = vaInputs.short_description;
incident.assignment_group = vaInputs.assigment_group;
incident.cmdb_ci = vaInputs.cmdb_ci;
incident.urgency = vaInputs.urgency;
incident.impact = vaInputs.impact;
incident.contact_type = 'virtual_agent';
incident.comments = vaInputs.comments;
incident.incident_state = vaInputs.state;
//Save this incident as a variable to use to display it
vaVars.inc_sysid = incident.insert();
//Link this incident to the Interaction
vaSystem.attachRecordToConversation('incident',vaVars.inc_sysid);
 
})()

Hi @akarshagnihotri ,

 

here vaInputs.assigment_group assignment spelling is wrong correct it and try once ?

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang