Fix to Capture existing RITM Variable value in work notes of the RITM.

Ankita NA
Tera Contributor

Hie All,

I need value input for the below requirement.

I have one catalog item in which there is a variable named " Test" which is of type " String', now user wants to make it a Reference type, as doing this will impact all the open items.

So, before doing that user wants to take the " Test" variable data from all existing RITMS and place it in work note of the RITM.

What is the best possible way to achieve it please suggest.

 

Thanks  

2 REPLIES 2

Anubhav24
Mega Sage
Mega Sage

Hi @Ankita NA ,

You need to write a fix script to update the value of the "Test" variable onto the worknotes of respective RITMs.

 

Please mark helpful/correct if my response helped you.

James Chun
Kilo Patron

Hi @Ankita NA,

 

Why not just deactivate the 'Test' variable and create a new reference type variable?

This way, you will still retain all the previous RITMs and new ones will be created with the new variable.

 

If you change the type of a variable, it may break the existing RITMs data.

Also, if you have any processes (e.g. client script, UI policy, workflow) running on the variable, they may break as well.

 

Cheers