Error: editing a variable on a checked out item is restricted

Snow Tomcal
Tera Expert

Hi, I have a script that after creating a catalog item in catalog builder adds questions to the item.

The script stops after 2 questions and I get the error "Editing a variable on a checked out item is restricted". what can i do?

This happens only to non admin users.

It happens on one instance and on another my script works.

 

5 REPLIES 5

Mark Manders
Tera Patron

If the script runs on one, and not on the other, there is a difference. I do think you should consider why an item is checked out on TEST if you also have a DEV. 

But to resolve this, you will have to find the differences between the instances. Add logging to your code to see what happens and when.