<div dir="ltr">It works now, I also had to change "<span style="font-size:12.8px"> $c:user/c:extension/bshp:</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">attribute" to "</span><span style="font-size:12.8px">c:extension/bshp:</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">attribute" . This task will help out our registrars since the change will automatically get propagated back to our campus system.</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thanks again!</span></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">JASON</div></div></div>
<br><div class="gmail_quote">On Wed, Aug 10, 2016 at 2:39 AM, Pavol Mederly <span dir="ltr"><<a href="mailto:mederly@evolveum.com" target="_blank">mederly@evolveum.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div 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 cols="72">Pavol Mederly
Software developer
<a href="http://evolveum.com" target="_blank">evolveum.com</a>
</pre><div><div class="h5">
    <div>On 09.08.2016 22:29, Jason Everling
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <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 href="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" target="_blank">http://midpoint.<wbr>evolveum.com/xml/ns/public/<wbr>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 href="http://midpoint.bshp.edu/bshp" target="_blank">http://midpoint.<wbr>bshp.edu/bshp</a>">declare
            namespace bshp='<a href="http://midpoint.bshp.edu/bshp" target="_blank">http://midpoint.bshp.<wbr>edu/bshp</a>';
            $c:user/c:extension/bshp:<wbr>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 href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/<wbr>2001/XMLSchema-instance</a>"
            xsi:type="t:ObjectDeltaType"></div>
          <div>                   
             <t:changeType>modify</t:<wbr>changeType></div>
          <div>                     <t:itemDelta></div>
          <div>                       
            <t:modificationType>replace</<wbr>t:modificationType></div>
          <div>                        <t:path xmlns:bshp="<a href="http://midpoint.bshp.edu/bshp" target="_blank">http://midpoint.<wbr>bshp.edu/bshp</a>">declare
            namespace bshp='<a href="http://midpoint.bshp.edu/bshp" target="_blank">http://midpoint.bshp.<wbr>edu/bshp</a>';
            $c:user/c:extension/bshp:<wbr>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</<wbr>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.<wbr>midpoint.model.impl.scripting.<wbr>ScriptExecutionTaskHandler.<wbr>run</operation></div>
            <div>         <status>fatal_error</status></div>
            <div>         <token>1000000000010283151</<wbr>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.<wbr>impl.scripting.<wbr>ScriptingExpressionEvaluator.<wbr>evaluateExpression</operation></div>
            <div>            <status>unknown</status></div>
            <div>           
              <token>1000000000010283152</<wbr>token></div>
            <div>         </partialResults></div>
            <div>      </partialResults></div>
            <div>   </result></div>
          </div>
          <div>
            <div><br>
            </div>
            <div><br clear="all">
              <div>
                <div data-smartmail="gmail_signature">
                  <div dir="ltr">JASON</div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      </div></div><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></fieldset>
      <br>
      <pre>______________________________<wbr>_________________
midPoint mailing list
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br></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>