You are viewing limited content. For full access, please sign in.

Question

Question

Assigning Access rights via workflow?

asked on August 6, 2014

Hello all

 

 

I have a workflow that needs to assign multiple accounts with different security settings.  I am only able to assign one single account or group.

 

I have two specific groups with different access rights and I also have a list of members that is listed in multi-value field which will have different access rights.  

 

I tried multiple Assign Rights activities but only the first Assign Rights activity gets processed and others don't.     As for user names in Multi-value field, they don't work at all even if I use the field value in Assign Rights properties.

 

I would appreciate some with this issue.

 

Thanks

 

0 0

Answer

SELECTED ANSWER
replied on August 7, 2014

Hi Farzali,

 

It sounds like what you will need to do here is to use the 'retrieve field values' ensuring you have it set on the multi value field to return (All Values). Then you can use the 'for each value' command to deal with and assign access right's for each value in the multi value field. In the for each value command the token should something like %(RetrieveFieldValues_fieldname_All). Inside the 'for each value' you need the 'assign rights' node with the token %(ForEachValue_Current Value).

 

Should look something like this (in it's basic form).

 

Try this and see how you get on.

 

Hope this makes sense? smiley

 

Cheers!

0 0
replied on August 7, 2014

Hi Chris

Thanks for quick response.

 

I am doing exactly what you are suggesting but It doesn't work.  When I check the error message in Workflow its saying it can't find the user name.    The users are coming from Active directory and the user list that I am retrieving is just the user name (without domain name).    I am wondering if I need the "domain\username" together?

0 0
replied on August 7, 2014

Hi Farzali,

 

You may need to include the "Find User" node to transpose the token from multi field value into an AD user or vice versa. Give that a go and see if you get the result you want. smiley

0 0
replied on August 7, 2014

Thanks for your directions.  I used a token to add the domain\ to the user name and it now is able to find the username and add the correct security.

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.