user should get added to group in IDM onload of Request form

Hello All,

I have the below requirement and got struck on how to achieve it and proceed further.

-> using workflow, i want to add the requester/recipient to a group(hard coded value) in IDM on request form load itself.
i.e the user should get added to the group when ever he selects the PRD and request form loads.

is it doable? if so, can someone help me on this how this can be achieved.


Thank you,
Eswar.
  • Not out of the box and you'd need custom logic to do that.

    * You could have a pre-activity mapping that calls a custom Java LDAP
    class to change the membership
    * You could call some custom Ajax logic from a form even (like
    'onload'), or use a REST call to start a service workflow to do the job.

    In both cases, there is a good chance that you have to fiddle with
    credentials and LDAP context handling.

    It would be MUCH easier to handle this in a workflow AFTER submit.

    Wolfgang


    On 16.11.2017 10:14, ed00491298 wrote:
    >
    > Hello All,
    >
    > I have the below requirement and got struck on how to achieve it and
    > proceed further.
    >
    > -> using workflow, i want to add the requester/recipient to a group(hard
    > coded value) in IDM on request form load itself.
    > i.e the user should get added to the group when ever he selects the
    > PRD and request form loads.
    >
    > is it doable? if so, can someone help me on this how this can be
    > achieved.
    >
    >
    > Thank you,
    > Eswar.
    >
    >