Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Is it possible to clone PDI?

Kalyani34
Kilo Contributor
Hi All, I just want to know that is it possible to clone one PDI with another PDI. I tried to set the "glide.db.clone.allow_clone_target" property to true, but it is not allowing me to do that. It is showing
"This item is read-only based on its protection policy."
1 ACCEPTED SOLUTION

Anurag Tripathi
Mega Patron
Mega Patron

HI,

You cant do that. Cloning is part of the instance maintenance for commercially used instances, while the Idea of having a PDI is purely to learn and experiment on things.

 That is why PDI have options wo wipe instance and refresh but you can clone it.

-Anurag

-Anurag

View solution in original post

5 REPLIES 5

Detlef Biederma
Tera Expert

I could set this parameter to "true" by script. 

 

var v_gr = new GlideRecord('sys_properties');
v_gr.addQuery('name=glide.db.clone.allow_clone_target');
v_gr.query();

while(v_gr.next())
{gs.info(v_gr.name);
 v_gr.value=true;
 v_gr.update();
}
 
But when I try to configure the target.
 
DetlefBiederma_0-1686927016900.png