<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello Brad,</p>
    <p>you could have a look at <a moz-do-not-send="true"
        href="https://wiki.evolveum.com/display/midPoint/Policy+Rules">policy
        rules</a>. In particular, using policy conditions you can
      recognize situations when object is modified (i.e. not added nor
      deleted) and specific property is changed. And using policy
      actions you can do whatever you need, e.g. send notification
      ("notification" action), initiate approval ("approval" action), do
      any change ("scriptExecution" action), etc.</p>
    <p>Setting of current timestamp value to a database table (attached
      to the user as a resource) should be doable also using mappings,
      provided that appropriate condition (user is not new) is written.<br>
    </p>
    <p>Best regards,<br>
    </p>
    <pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
    <div class="moz-cite-prefix">On 04/08/2020 20:40, Brad Firestone
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:f7210329-78f7-b737-0f53-9a6792de14d6@gmail.com">Hi All,
      <br>
      <br>
      I have a situation where a certain User attribute might be changed
      by multiple people.  If that attribute value is changed, we'd like
      to either set a different attribute value on a certain database
      table resource, or send a notification that the attribute value
      was changed. Or if there was a way to run that attribute value
      change through an approval process, that would work too.
      <br>
      <br>
      Here's an example:
      <br>
      <br>
      Existing (extension) attribute:  SystemA_ID
      <br>
      If a new user is created, populate the database table with the
      initial value, no notification needed.
      <br>
      If SystemA_ID value is changed through an administrative action in
      the GUI (user channel) do one of the following:
      <br>
       - send a notification email to a certain address to advise them
      of the change.  OR..
      <br>
      - place a current timestamp value in a separate column in the
      database table such as:  SystemA_ID_changeDate.  OR...
      <br>
      -initiate an approval process to approve the value change of this
      extension attribute.
      <br>
      <br>
      Does anyone have any ideas of how to accomplish this?  Thanks for
      any suggestions!
      <br>
      Brad
      <br>
      <br>
      _______________________________________________
      <br>
      midPoint mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
      <br>
      <a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
      <br>
    </blockquote>
  </body>
</html>