Problem retrieving the K2 process data

rated by 0 users
Answered (Verified) This post has 2 verified answers | 4 Replies | 2 Followers

Not Ranked
3 Posts
Points 29
abhijeetraje posted on Thu, Mar 11 2010 4:24 AM

I am a novice to K2 and currently trying to expore a few of the basic functionalities in k2.

I am using a SharePoint WorkFlow Integration Wizard and trying to instantiate a k2 workflow which triggeres an e-mail when a sharepoint list item has been created. However , I am not able to achive this functionality and below is the message i am getting while running the worklow mannually from sharepoint List. 

Error Message :

"There has been a problem retrieving the K2 process data. Please ensure that the account has rights to the K2 Item and that you are connecting to the K2 Server".

 

  • | Post Points: 4

Answered (Verified) Verified Answer

Top 25 Contributor
205 Posts
Points 858
Verified by abhijeetraje

The account that is running the K2 server should have permissions on the SharePoint site to retrieve information.

In the normal case, you can add the K2 service account as a site collection administrator. This can also be done from the K2 for SharePoint tab in Central Administration.

-- Ruben d'Arco Application Developer/Consultant Capgemini The Netherlands

  • | Post Points: 24
Not Ranked
3 Posts
Points 29
Verified by abhijeetraje

Thanks cyclops !! I got the solution , actually the above suggestion that you provided was perfectly correct only issue was after logging with my credentials the SharePoint was displaying ServiceAccount and hence there was a conflict of rights.

I fired the below provided commands to change the display on to my credentials:-

STSADM –o updatefarmcredentials –identitytype NetworkService userlogin domainname\username -password password.

This made the sharepoint list understand that it is the same account which has access to the k2 server and the things worked fine!!.

  • | Post Points: 21

All Replies

Top 25 Contributor
205 Posts
Points 858
Verified by abhijeetraje

The account that is running the K2 server should have permissions on the SharePoint site to retrieve information.

In the normal case, you can add the K2 service account as a site collection administrator. This can also be done from the K2 for SharePoint tab in Central Administration.

-- Ruben d'Arco Application Developer/Consultant Capgemini The Netherlands

  • | Post Points: 24
Not Ranked
3 Posts
Points 29

Thanks for your reply .

I have checked the user access and rights and found that the account that is running the K2 Server  ( Which i have figured out from the services --> K2Server logon tab is same as the one I have added in the SharePoint Site Collection Administrator's list and owners group. Also I have added the K2 service account as a site collection administrator.

The error message still remains the same

"There has been a problem retrieving the K2 process data. Please ensure that the account has rights to the K2 Item and that you are connecting to the K2 Server"

 

 

 

 

  • | Post Points: 4
Top 25 Contributor
205 Posts
Points 858

Are you able to run K2 in console mode and  copy/paste the output?

-- Ruben d'Arco Application Developer/Consultant Capgemini The Netherlands

  • | Post Points: 4
Not Ranked
3 Posts
Points 29
Verified by abhijeetraje

Thanks cyclops !! I got the solution , actually the above suggestion that you provided was perfectly correct only issue was after logging with my credentials the SharePoint was displaying ServiceAccount and hence there was a conflict of rights.

I fired the below provided commands to change the display on to my credentials:-

STSADM –o updatefarmcredentials –identitytype NetworkService userlogin domainname\username -password password.

This made the sharepoint list understand that it is the same account which has access to the k2 server and the things worked fine!!.

  • | Post Points: 21
Page 1 of 1 (5 items) | RSS