Role Not Taking Effect In ResourceUpdate

 3 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
miles00001001
New Member
Posts: 3
New Member
    I have an odd problem with a process flow I have created to edit RM attributes for MSS access. 

    I have a resource query that once it finds the RM account it will add a bookmark group (GROUP attribute) as well as a security role (ROLE attribute) to the account.  After a few minutes, the group change takes effect and the bookmarks assigned to the group are visible to the user.  However, the security doesn't seem to be applied.

    When the RM account is inspected in the resource manager we can see that the MSS group and role have been assigned to the account.  If apply a change in the resource manager without removing/adding the roles things work fine.  Anyone have an idea about what could be going wrong?

    Also, is there a way to report that no records were found from a resource query?
    miles00001001
    New Member
    Posts: 3
    New Member
      I decided to use a variable as a counter to see if there were any records returned from the resource query. Within the query if it finds something the counter is incremented. After the resource query iterations I check to see if the counter is greater than 0.

      We forced a server cache refresh in security manager and that seems to have updated the users appropriately. Is this a problem with the server set-up that the cache isn't being refreshed properly? Is there a way to call a server cache refresh from process flow?
      John Henley
      Posts: 3353
        Are you appending the role to the existing roles?

        Thanks for using the LawsonGuru.com forums!
        John
        miles00001001
        New Member
        Posts: 3
        New Member
          Yes. The ResourceUpdate node performs an Update. It appends our MSS group to the Group attribute, and the MSS role to the Role attribute. I am also replacing the WFUser flag to 1.