RD955

 6 Replies
 0 Subscribed to this topic
 13 Subscribed to this forum
Sort:
Author
Messages
L G
Advanced Member
Posts: 38
Advanced Member
    Hi 1)I would like to know if anyone knows of a program similar to RD955 in the new LSF 9.0 environment A lot of our EMSS bookmarks data are loaded using RD955 Basically we create programs that generate a CSV for all eligible employees under a specific task like Benefits Enrollment We identify the eligible employees and push them as a CSV output for RD955 to load into bookmark groups Now RD955 no longer exists So anyone has any idea how can we load the generated CSV to bookmark groups in RM 2) Also we created a custom program to mass delete users from bookmark groups Is it possible to mass delete users from a particular bookmark in RM 3) What is the replacement for SIRDIDGRP in RM in lSF9.0 Sorry if this is not the right subforum for asking this question Not sure where this should go?
    John Henley
    Posts: 3353
      Not sure what you mean by "A lot of our EMSS bookmarks data are loaded using RD955". RD955 didn't do anything with bookmarks, just adding users to groups. In LSF9, SIRDIDGRP has been replaced by storing Group membership within the LDAP repository. Not something you want to update from outside. You can ADD users to a group via an XML file and the loadusers utility, but I don't think you can remove them from a group. The only reasonable/supported way to remove/disable them is via ProcessFlow Integrator and the ResourceUpdate node.
      Thanks for using the LawsonGuru.com forums!
      John
      L G
      Advanced Member
      Posts: 38
      Advanced Member
        Hi What I meant was that users are added to groups based on eligiblity criteria for certain functions like Benefits by generating a CSV for RD955 to process Then those users as part of groups) are added to Bookmarks for those functions / reponsiblities I was looking for a way to easily add or remove users to groups via commandline or a script If it is possible I could always create a script if I knew what command is used to remove a user from a group in effect removing him from the bookmark the reason we remove all users from a group and then repopulate the group is to remove ineligible employees who may still have bookmarks after the selection criterion has changed once a day or is there a way to automatically add and remove users to groups by selecting the logic in RM itself sometimes the logic is pretty tough which I am not sure RM logic if any supports
        Greg Moeller
        Veteran Member
        Posts: 1498
        Veteran Member
          We are using an ldapmodify command to remove and add users to groups. It seems to work just fine.

          printf "\tCreating code to delete the group for: $CN\n"
          printf "dn: cn=$CN,ou=resources,o=lwsnrmdata,o=lwsn,dc=domain\n" >> ${LDIF}
          printf "changetype: modify\n" >> ${LDIF}
          printf "delete: zzlwsnattrGroup\n" >> ${LDIF}
          printf "zzlwsnattrGroup: \n" >> ${LDIF}
          printf "\n\n" >> ${LDIF}

          printf "\tCreating code to assign the group for: $CN\n\n"
          printf "dn: cn=$CN,ou=resources,o=lwsnrmdata,o=lwsn,dc=domain\n" >> ${LDIF}
          printf "changetype: modify\n" >> ${LDIF}
          printf "add: zzlwsnattrGroup\n" >> ${LDIF}
          printf "zzlwsnattrGroup: \n" >> ${LDIF}
          printf "\n\n" >> ${LDIF}

          Then
          ldapmodify -D cn= -w -h -p 389 -v -c -f ${LDIF} >> ${LDIF}_log 2>&1

          Feed in a list of user's to ${CN} and it works for us. We are using this to enable and disable the "New Hire" link for Benefit enrollment after the person has been hired for 30 days.
          John Henley
          Posts: 3353
            Greg, thanks for pointing out ldapmodify as an option; the only caveat is that you're basically going in thru thru back door, just like you would be if you update the Lawson database directly from SQL..
            Thanks for using the LawsonGuru.com forums!
            John
            Greg Moeller
            Veteran Member
            Posts: 1498
            Veteran Member
              Yes, John and others, I realize that by doing this, we would not be supported on GSC calls, or things like that, but it does work and does what we need it to do. Not sure if we are setting ourselves up for future problems, though.
              Kwane McNeal
              Veteran Member
              Posts: 479
              Veteran Member
                I actualy think Lalit was asking about the BookMark->Group mapping, not the RMUser->Group mapping....If that is the case, He could always do something in AddIns to load the data via LOGAN's LO14/LO15 programs

                Kwane