[CMDB Remediation] CMDB Remediation Rule task workflows are getting triggered even when the rule is inactive OR set to ManualIssue <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } ul{ list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Symptoms The remediation workflow gets triggered even with the remediation rule set to the inactive OR manual. Environment As part of CI remediation, most of the time we may need to create remediation rules for testing. If the remediation rule is created as manual and active is set to false. With this, our expectation is when a new remediation task is generated it should not trigger any workflow context for below reasons: The remediation rule is inactive.The rule is configured to Manual so the workflow context should be triggered when the user manually goes to record and click on Remediate UI Action to remediate it. But sometimes, irrespective of what we select the on remediation Rule, it is still triggering the workflow. Expected results When a new remediation task is generated then the workflow is triggered in two ways one with workflow engine or remediation business rule that runs the workflow: Name: Run remediation for CMDB Health task https://<instance_name>.service-now.com/nav_to.do?uri=sys_script.do?sys_id=24b506e89f101200d3921a1cf67fcfa7 Sometimes the workflow gets triggered by the engine because: While creating the workflow, on the workflow properties set the below:On the conditions tab, there is a field called “If conditions matched” and is selected as “Run the workflow always”.This means that the workflow is always triggered by workflow engine and so the issue. This means that it will not check any other conditions and trigger the workflow context. ReleaseGeneva++CauseCreate a remediation rule for any metric and a workflow for this: Active: FalseExecution: ManualWorkflow: Create a workflow and attach that workflowTask Type: Select the remediation metric type task table Run the CMDB health job, or simply create the related remediation task manually.See the workflow context is generated. ResolutionTo resolve the issue, select the “If conditions matched” as “None. As shown in below figure below: Related LinksCreate CMDB remediation ruleApply CMDB remediationRemediate a de-duplication task