Adding extra parameter (field) in create incident topic block

Suresh Kumar8
Tera Contributor

Hello Developers,

I have a requirement in adding and mapping a new parameter (IMPACT) into Create Incident topic block. I followed the below steps:

1. Duplicated the Create Incident topic block.

2. Added new parameter called impact.

3. Mapped as below in the script provided in topic block:

var incDetails - new sn_itsm_va.VACreateINCUtil().createIncident(caller, short_desc, urgency, desc, cmdb_ci, impact);

4. Added my newly created topic block to Create Incident topic.

Mapping is not working.

 

I have attached screenshots for the same. Request your valuable inputs on this please.

15 REPLIES 15

@Suresh Kumar8 

this is how the variable name come, hope you are using it correctly

AnkurBawiskar_0-1743519116424.png

 

Script I used

AnkurBawiskar_1-1743519185603.png

When you type . after vaInputs, it will give you suggestions

AnkurBawiskar_2-1743519219488.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader