Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Change request should be Auto closed when Changed task is closed

viswav
Giga Contributor

Change request should be Auto closed when Changed task is closed

6 REPLIES 6

Rahul Kumar Sh1
Tera Contributor

Hi, Yes this is an out of the box functionality, for you if it not working please check associated workflow

 

viswak
Tera Contributor

why my code not working  for Change request should be Auto closed when Changed task is closed

 

var inc = new GlideRecord('change_task');
inc.addQuery('change_request',current.sys_id);
inc.query();
if(inc.next()){
inc.state = 3;
inc.update();
current.setAbortAction(true);
}