<div dir="ltr">I got the CSV import to work correctly using a dump from our student information system for inbound sync only.<div><br></div><div>I am having a difficult time deciding which reactions/actions to use for when a user is removed from the CSV resource file.</div><div><br></div><div>The dump contains only active students/faculty/staff, if a user is not in the CSV file but exists in Midpoint I only want that account to be disabled, not deleted.</div><div><br></div><div>In the current config the user is unlinked and I can change the deleted option to inactivateFocus which does disable the account but if that student is added back to the CSV file then the sync status errors out because the account already exists and for some reason cannot match the owner back, it tries to create a new account.</div><div><br></div><div>What is the best config for this to happen, e.g student leaves or withdraws, account is disabled, student comes back, account should be re-enabled.</div><div><br></div><div>I took the csv bulk-import sample and modified it accordingly,</div><div><br></div><div>Thanks,</div><div>JASON</div><div><br></div><div><div><span class="" style="white-space:pre">                         </span><reaction></div><div><span class="" style="white-space:pre">                                   </span><situation>linked</situation></div><div><span class="" style="white-space:pre">                                  </span><action ref="<a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#modifyUser">http://midpoint.evolveum.com/xml/ns/public/model/action-3#modifyUser</a>"/></div><div><span class="" style="white-space:pre">                              </span></reaction></div><div><span class="" style="white-space:pre">                          </span><reaction></div><div><span class="" style="white-space:pre">                                   </span><situation>deleted</situation></div><div><span class="" style="white-space:pre">                                 </span><action ref="<a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlinkAccount">http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlinkAccount</a>"/></div><div><span class="" style="white-space:pre">                                </span></reaction></div><div><span class="" style="white-space:pre">                          </span><reaction></div><div><span class="" style="white-space:pre">                                   </span><situation>unlinked</situation></div><div><span class="" style="white-space:pre">                                        </span><action ref="<a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#linkAccount">http://midpoint.evolveum.com/xml/ns/public/model/action-3#linkAccount</a>"/></div><div><span class="" style="white-space:pre">                            </span></reaction></div><div><span class="" style="white-space:pre">                          </span><reaction></div><div><span class="" style="white-space:pre">                                   </span><situation>unmatched</situation></div><div><span class="" style="white-space:pre">                                       </span><objectTemplateRef oid="10000000-0000-0000-0000-000000000201"/></div><div><span class="" style="white-space:pre">                                    </span><action ref="<a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#addUser">http://midpoint.evolveum.com/xml/ns/public/model/action-3#addUser</a>"/></div><div><span class="" style="white-space:pre">                                    </span><!--<action ref="<a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#linkAccount">http://midpoint.evolveum.com/xml/ns/public/model/action-3#linkAccount</a>"/>--></div><div><span class="" style="white-space:pre">                               </span></reaction></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>