Triggering a propagation on user's memberships updates

2020-06-04 Thread thinkingmik
Hi, there is a way to trigger a propagation task to an external resource (database) when a user is inserted or removed from a group? PROBLEM I have an external resource mapped for USER type (with a /net.tirasa.connid.bundles.db.scriptedsql/ connector) that writes the user's groups into a databas

Flowable set user plain attribute

2020-10-07 Thread thinkingmik
Hello, I'm using Syncope 2.1.4 and I'm trying to set a custom plain attribute named /tempPassword/ to an user using *Flowable* without success. This custom attribute was added before to the schemas and added to the base user object. It is writable and contains plain text. I have a groovy /Script t

Re: Flowable set user plain attribute

2020-10-09 Thread thinkingmik
Hi, I have found the way to set plain attributes on user by adding a /service task/ (with delegate expression ${update}) after my /script task/. So, my script changed to: /*** BEGIN SCRIPT ***/ import org.apache.syncope.common.lib.patch.AttrPatch; import org.apache.syncope.common.lib.types.PatchO