<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hi everybody,<br><br></div>1. I am trying do sync <b>Organization</b> objects defined in ORACLE tables. The resource snippet that deals with it is:<br><br><a href="http://pastebin.com/Jcht99mJ">http://pastebin.com/Jcht99mJ</a><br><br></div>2. The <b>ORACLE row </b>that I want do sync is represented, in midpoint, as the shadow:<br><br><a href="http://pastebin.com/yZBJX0Mp">http://pastebin.com/yZBJX0Mp</a><br><br><br></div>3. The <b>groovy script</b> that deals with the synchronization is:<br><br><a href="http://pastebin.com/E4UaQ6C2">http://pastebin.com/E4UaQ6C2</a><br><br><br></div>4. And, finaly, the output of the sync script is<br><br><a href="http://pastebin.com/PCcjq4NJ">http://pastebin.com/PCcjq4NJ</a><br><br></div>As you can see, the groovy script returns what it is intended to.<br><br></div><br></div>5. One more information. When I select Generics->Resource, in the resource GUI and change the desired object, the sync operation works and the organization is changed. Nonetheless, when I change the object directly on the resource (<b>ORACLE</b>, in this case), the sync operation is not accomplished (even with groovy script returning what it must).<br><br><br></div>Did I miss anything?<br><br><br><br></div>Carlos<br></div>TRT/MG/Brasil<br><div><div><div><br><br><div><div><br></div></div></div></div></div></div>