How to enable more than one working copy in Identity Audit - Rules (ComplianceRule table)

I am doing compliance rule creation in bulk using the Data Import tool for One Identity Manager version 8.1.5.

However, facing challenges in enabling working copies of these compliance rules.

There is a method called "Enable working copy," which can enable only one working copy at a time. It is not allowing you to select multiple working copies at a time to enable them.

Please suggest some workarounds to enable more than one working copy (which belongs to the ComplianceRule table) at a time.

Parents
  • You can create a custom DialogMethod and assign the MethodBehavior to Execute on multiple objects.

    The code would look like the following if you want to enable the production rule (the second method call parameter is set to True). This is a stripped-down version of the original method.

    Try
    	If Not Base.IsLoaded Then
    		MsgBox (#LD("Not possible in insert mode.")#, MsgBoxStyle.OKOnly Or MsgBoxStyle.Information, "Information")
      	Else
    		Base.Custom.CallMethod("ActivateWorkingCopy", True)
    	End If
    Catch ex As Exception
    	Throw New ViException(#LD("Error occured enabling working copy")#, ex)
    End Try

Reply
  • You can create a custom DialogMethod and assign the MethodBehavior to Execute on multiple objects.

    The code would look like the following if you want to enable the production rule (the second method call parameter is set to True). This is a stripped-down version of the original method.

    Try
    	If Not Base.IsLoaded Then
    		MsgBox (#LD("Not possible in insert mode.")#, MsgBoxStyle.OKOnly Or MsgBoxStyle.Information, "Information")
      	Else
    		Base.Custom.CallMethod("ActivateWorkingCopy", True)
    	End If
    Catch ex As Exception
    	Throw New ViException(#LD("Error occured enabling working copy")#, ex)
    End Try

Children
No Data