Service Desk Practitioners Forum

writing history lines with WEB API

Geert Van Riet
Regular Contributor.

writing history lines with WEB API

We have a java program that uses web api to remove relationships between blocked CI's. But now we get errors trying to write history lines on these "blocked" CI's.
Should it be possible to write a history line on a blocked CI? If yes, how exactly?

Thanks for any clarity on this.
Mark Teichmann
Super Contributor.

Re: writing history lines with WEB API

when you block a CI you can not alter any attributes of it (at least that should be the case). You also cannot create relations to a blocked CI. That is one of the reasons WHY you block a CI.
If you want to add a history line you should unblock the CI, add the history line and the block it again.