Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleObject collection
<objectCollection oid="72b1f98e-f587-4b9f-b92b-72e251dbb277">
    <name>Modification of administrative attribute</name>
    <auditSearch>
        <recordQuery>select * from m_audit_event as aer where aer.eventType=2 and aer.eventStage=1 and aer.custSituation LIKE '%changeAdminStatR1%'</recordQuery>
        <interval>P1D</interval>
    </auditSearch>
	<type>AuditEventRecordType</type>
    <filter>
        <and>
            <equal>
                <path>eventStage</path>
                <value>execution</value>
            </equal>
            <equal>
                <path>eventType</path>
                <value>modifyObject</value>
            </equal>
            <equal>
                <path>customColumnProperty</path>
                <value>
                    <name>situation</name>
                    <value>changeAdminStatR1</value>
                </value>
            </equal>
            <greater>
                <path>timestamp</path>
                <expression>
                    <script>
                        <code>
                            calendar = basic.addDuration(basic.currentDateTime(), "-P1D");
                            return calendar;
                        </code>
                    </script>
                </expression>
            </greater>
        </and>
    </filter>
</objectCollection>

When we have object collection, then import Dashboard object with widget for our object collection.

...