<div dir="ltr"><div>Hi all,</div><div><br></div><div>I have a simple database with users and roles. And a mapping table. Each user can have multiple roles and these roles can be validTo and enabled/disabled ( fields in the mapping table)</div><div><br></div><div>Midpoint also knows activation of assignments. But i can't figure out how to write these activation attributes out to the scriptedSql groovy scripts.</div><div><br></div><div>If i set validTo on an assignment the update.groovy get's triggered with action 'REMOVE_ATTRIBUTE_VALUES'. <br></div><div><br></div><div>But this is not what i need. I would like to save the timestamp from the validTo to my database without removing this row. <br></div><div><br></div><div>Has anyone done this before? Or is this not possible?</div><div><br></div><div>I already found docs about
ParametricAssignment..
</div><div><a href="https://wiki.evolveum.com/display/midPoint/Assignment+Configuration#AssignmentConfiguration-ParametricAssignments">https://wiki.evolveum.com/display/midPoint/Assignment+Configuration#AssignmentConfiguration-ParametricAssignments</a></div><div>I appreciate any help.</div><div>Regards</div><div>Nico Pätzelt<br></div></div>