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.

work note do not display variables values.

keshav77
Tera Contributor
 I am writing run script to display  work  notes which hold variables value if stage is planning  in release management.
 
var applications = current.variables.applications;
var business_application_bai=current.variables.business_application_bai;
var name = current.variables.name.toString();
var names = current.variables.names.toString();
var version = current.variables.application_version.toString();



current.work_notes=applications+'|'+business_application_bai+'|'+name+'|'+names;
2 REPLIES 2

Gangadhar Ravi
Giga Sage

You have this logic in business rule? Can you please provide more details 

Not applicable

ok gliderecord of release table and check if current record is available like for example RITM

var ritm = new GlideRecord('sc_req_item');

if (ritm.get(current.sys_id)) {

    var variableValue = ritm.variables.variable_name;

    ritm.work_notes = 'The variable value is: ' + variableValue;

    ritm.update(); 

}