Copy all the variables to the description field of standard change request

Johny1
Tera Expert

Hi Folks,

I have created two variables for the standard change template. Is there a way to copy all the variables that could be updated on the description field of change request.

find_real_file.png

find_real_file.png

The above two variables to be copied on the description some think like this

eg: 

Host Name:

IP Address:

find_real_file.png

 

Thanks

Johny

4 REPLIES 4

asifnoor
Kilo Patron

Hi,

In your Record producer script field you can add somethig liek below

var description = "Values are "+current.variables.variable_name+"/n" +current.variables.variable_name2+"/n"+current.variables.variable_name3+"/n";
current.description = description;
current.insert();

Mark the comment as a correct answer and helpful if it helps.

Hi Asifnoor,

I tired and nothing is updated in the description.

find_real_file.png

Hi,

You need to write this in the RP script field and it will be updated in the newly created change request description field.

Hi,

The picture i attached is from RP. When I open standard change record producer that above page is getting opened and script field is hidden with ACL.

I had overridden that to display on the form for testing.