CMDB Remediation Rules

klautrup
Kilo Expert

Hi,
I have configured a CMDB orphan rule in the Health Dashboard identifying orphan MS SQL Database CIs in cmdb_ci_db_mssql_database if they do not have the CONTAINED BY relation to a MS SQL Instance CI in Fcmdb_ci_db_mssql_instance.


I now want to configure a CMDB Remediation Rule where it seems I have to create a workflow:
find_real_file.png

 

If I then click the magnifying glass next to 'Workflow' I get a pop-up allowing me to create a workflow:find_real_file.png

Submitting that workflow brings me to the workflow canvas:
find_real_file.png

 

Now if I Publish that workflow and return to the create CMDB Remediation Rule form it has put the new workflow in the 'Workflow' field:find_real_file.png

 

But if I try to Submit that it is blanked out:
find_real_file.png

 

And hitting the magnifying glass again doesn't show the published workflow (if I open the workflow editor directly I see the workflow as published).

The documentation how to create a CMDB Remediation Rule seems very sparse. Anybody having successfully created such a rule?

 

 

10 REPLIES 10

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

looking at the error message, please try to change the name of the Workflow, it should NOT match anywhere.

Give a try and let me know.

Please, remember to mark Correct or Helpful if you find my response useful.

Cheers
Alberto

Community Alums
Not applicable

Does the table for the workflow have to match the task type on the rule, so should be "Orphan CI Remediation"?

klautrup
Kilo Expert

I'm adding the workflow with a unique name and it gives the error (same if I add it with the same name as the Remediation Rule I'm trying to create).

And adding the workflow on the same "Orphan CI Remediation" table also gives the same error and besides doesn't seem to make sense since it is not in that table I want the workflow to delete the orphan MS SQL Database CIs.

Batman3
Mega Expert

running into a similar problem, has there been any update on what was the root cause of the issue?