The CreatorCon Call for Content is officially open! Get started here.

Not able to close a Change Request

Jessica28
Tera Guru

Hello,

Could someone please help?

I am not able to close a standard change request . As it says Configuration item is mandatory field:

find_real_file.png

I went ahead and filled the required configuration item, but encountering a difference error:

find_real_file.png

 

Please advise!

Thank you

 

1 ACCEPTED SOLUTION

Hi,

I had mentioned in my previous response:

Please check the dictionary override section of this same record to see if there's been one set for the change_request table.

So there is a dictionary override record for the change_request table as seen in your screenshot.

Open that, then check and see if the "mandatory" override is checked, if so, uncheck it and save, close your change request record, then come back here and turn it back to mandatory again in the dictionary override for this table.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

8 REPLIES 8

Allen Andreas
Administrator
Administrator

Hi,

There must be a business rule on the change_request table preventing the record from having the CI value changed while the record is still open.

You have three options, I believe:

  1. You disable the mandatory nature of the CI field so you can then save and then set it back to mandatory
  2. You'd have to try and either disable the BR for a moment, set the CI, then turn it back on
  3. ...or consider using script to update the change request CI field and ensure you use .setWorkflow(false) in the GlideRecord query so no business rules run (so you bypass it basically).

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Thank you so much for helping Allen,

I would take your suggestion and go for option 1. However, I have no idea how the CI field got set to mandatory.  I looked in ACL and disabled a few cmdb_ci fields, but that did not work.

Could you please provide the steps on how I can find it?  Thank you again.

Hi,

You would right-click on the Configuration Item label...for the field and go to: Configure > Dictionary. Then see if the mandatory box is checked. If so, uncheck it, go back to the change request, closed it, then go back in to the dictionary record for the CI field once more and re-check the Mandatory field.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Allen,

I check the Dictionary and it was not set there.

find_real_file.png