Skip to main content


 

Symptoms


We are having trouble getting SharePoint users and groups in the context browser. We are able to get users and groups from our 3 AD domains. Several SharePoint site collections have been added to the list of User Managers in Workspace. The K2 service account has been given site collection administrator rights, and we still cannot get users or groups to show up. What do we need to do to access SharePoint users from a workflow.
 

Diagnoses


-Group providers set for a few sharepoint lists and main accounting site, all set correctly
-Checked Service Account permissions on sharepoint lists. Service account is set as farm admin and sharepoint site collection admin. No effect.
-Checked Environment Fields for K2 Server.
-Noticed there are Dev and Prod Environment libraries in workspace but Development is not being used.
 

Resolution

K2 Studio user browser was set to view the Development Environment library values. Development Environment Library had blank values for all the Sharepoint urls. So when the user browser went to look for sharepoint users it could not find them because it did not have a url to even start a user search. In K2 Studio we changed the environment being used from Development to Production by going into an event wizard and expanding the context browser, the first tab is the Environment Tab. This will say in parenthesis what environment is being used. In this case it was set to Development instead of Production which actually had sharepoint url values. The environment can be changed by clicking the black arrow below the X for the event window. Here you can choose the environment, refresh, add a new field, and change the server. We changed from Dev to Prod and then we could expand the Sharepoint User field in the user browser to see groups and users based on the sharepoint sites. It is recommended that the Sharepoint URLs in the Dev library get filled with the same URL values from Prod to avoid any inconsistencies when looking for any Sharepoint users, groups, sites, etc.




 
Be the first to reply!

Reply