<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello Jason,</p>
    <p>in your log file there would be a more detailed explanation of
      the error, but even without it - let me guess:</p>
    <p><q:ref> is for matching references. For matching
      properties, please use <q:equal>.</p>
    <p>If this would not help, please try to find the exception in your
      log, and send it here.</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 09.08.2016 22:29, Jason Everling
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAFkZXY7kbVFD1hvFooK0i4e70xC4L6JuG1KkgLECQ_Lq1HyO_w@mail.gmail.com"
      type="cite">
      <div dir="ltr">midpoint 3.2 - I keep getting a schema exception
        when trying to use a bulk task to modify an attribute for all
        users matching another extension attribute, a sample is below
        <div><br>
        </div>
        <div>
          <div>      <se:executeScript xmlns:s="<a
              moz-do-not-send="true"
              href="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3">http://midpoint.evolveum.com/xml/ns/public/model/scripting-3</a>"></div>
          <div>         <s:search></div>
          <div>            <s:type>c:UserType</s:type></div>
          <div>            <s:searchFilter></div>
          <div>               <q:ref></div>
          <div>                  <q:path xmlns:bshp="<a
              moz-do-not-send="true"
              href="http://midpoint.bshp.edu/bshp">http://midpoint.bshp.edu/bshp</a>">declare
            namespace bshp='<a moz-do-not-send="true"
              href="http://midpoint.bshp.edu/bshp">http://midpoint.bshp.edu/bshp</a>';
            $c:user/c:extension/bshp:attribute1</q:path></div>
          <div>                  <q:value>oldvalue</q:value></div>
          <div>               </q:ref></div>
          <div>            </s:searchFilter></div>
          <div>            <s:action></div>
          <div>               <s:type>modify</s:type></div>
          <div>               <s:parameter></div>
          <div>                  <s:name>delta</s:name></div>
          <div>                  <value xmlns:xsi="<a
              moz-do-not-send="true"
              href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"
            xsi:type="t:ObjectDeltaType"></div>
          <div>                   
             <t:changeType>modify</t:changeType></div>
          <div>                     <t:itemDelta></div>
          <div>                       
            <t:modificationType>replace</t:modificationType></div>
          <div>                        <t:path xmlns:bshp="<a
              moz-do-not-send="true"
              href="http://midpoint.bshp.edu/bshp">http://midpoint.bshp.edu/bshp</a>">declare
            namespace bshp='<a moz-do-not-send="true"
              href="http://midpoint.bshp.edu/bshp">http://midpoint.bshp.edu/bshp</a>';
            $c:user/c:extension/bshp:attribute2</t:path></div>
          <div>                       
            <t:value>newvalue</t:value></div>
          <div>                     </t:itemDelta></div>
          <div>                  </value></div>
          <div>               </s:parameter></div>
          <div>            </s:action></div>
          <div>         </s:search></div>
          <div>      </se:executeScript></div>
          <div><br>
          </div>
          <div>
            <div>   <result></div>
            <div>      <operation>run</operation></div>
            <div>      <status>fatal_error</status></div>
            <div>      <token>1000000000010283137</token></div>
            <div>      <message>Couldn't execute script: Couldn't
              parse object filter due to schema
              exception</message></div>
            <div>      <partialResults></div>
            <div>       
 <operation>com.evolveum.midpoint.model.impl.scripting.ScriptExecutionTaskHandler.run</operation></div>
            <div>         <status>fatal_error</status></div>
            <div>         <token>1000000000010283151</token></div>
            <div>         <message>Couldn't execute script:
              Couldn't parse object filter due to schema
              exception</message></div>
            <div>         <partialResults></div>
            <div>            <operation>class
com.evolveum.midpoint.model.impl.scripting.ScriptingExpressionEvaluator.evaluateExpression</operation></div>
            <div>            <status>unknown</status></div>
            <div>           
              <token>1000000000010283152</token></div>
            <div>         </partialResults></div>
            <div>      </partialResults></div>
            <div>   </result></div>
          </div>
          <div>
            <div><br>
            </div>
            <div><br clear="all">
              <div>
                <div class="gmail_signature"
                  data-smartmail="gmail_signature">
                  <div dir="ltr">JASON</div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <font size="2"><br>
        <br>
        CONFIDENTIALITY NOTICE:<br>
        This e-mail together with any attachments is proprietary and
        confidential; intended for only the recipient(s) named above and
        may contain information that is privileged. You should not
        retain, copy or use this e-mail or any attachments for any
        purpose, or disclose all or any part of the contents to any
        person. Any views or opinions expressed in this e-mail are those
        of the author and do not represent those of the Baptist School
        of Health Professions. If you have received this e-mail in
        error, or are not the named recipient(s), you are hereby
        notified that any review, dissemination, distribution or copying
        of this communication is prohibited by the sender and to do so
        might constitute a violation of the Electronic Communications
        Privacy Act, 18 U.S.C. section 2510-2521. Please immediately
        notify the sender and delete this e-mail and any attachments
        from your computer. </font><br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>