Sharepoint designer workflow dosnt autorun works manually do!
-
I am really going crazy here :wtf: , created a workflow in Sharepoint (2007) designer which works fine when adding a static email address (send when element change) but when i add a AD lookup (Email Service Request:Username) it only works if i run it manually, from sharepoint front end! When i create the same workflow with (Email Service Request:Domain\admin) it works fine, but when i use the above code it only works when i manually start it, from front end. Is there a rights issue? Found this article but i dont know if it applies to me, though i have some of the same errors especially the thing about logging in as system account, which i dint think much of before this. http://support.microsoft.com/kb/947284/da But what rights should the new account have????? or is the error something else? System info: SB2008 fully updated, running WSS 3 Can anyone help with this ???
-
I am really going crazy here :wtf: , created a workflow in Sharepoint (2007) designer which works fine when adding a static email address (send when element change) but when i add a AD lookup (Email Service Request:Username) it only works if i run it manually, from sharepoint front end! When i create the same workflow with (Email Service Request:Domain\admin) it works fine, but when i use the above code it only works when i manually start it, from front end. Is there a rights issue? Found this article but i dont know if it applies to me, though i have some of the same errors especially the thing about logging in as system account, which i dint think much of before this. http://support.microsoft.com/kb/947284/da But what rights should the new account have????? or is the error something else? System info: SB2008 fully updated, running WSS 3 Can anyone help with this ???
Have you reviewed the ULS logs? Are you using the same account in both places to execute the workflow? It does sound as though it is a permissions issue but there is very little information on which to comment.
Failure is not an option; it's the default selection.
-
Have you reviewed the ULS logs? Are you using the same account in both places to execute the workflow? It does sound as though it is a permissions issue but there is very little information on which to comment.
Failure is not an option; it's the default selection.
Thank you very much for reply :-) When i develop the workflow i use my system admin account, dont no what else i need! Found this in the log files, Unexpected Declarative workflows cannot automatically start if the triggering action was performed by System Account. Canceling workflow auto-start. List Id: 2017db47-c26a-423b-ad04-70e918d0fc6f, Item Id: 108, Workflow Association Id: a28126ee-baf4-41aa-8354-6c91ac2553a1 /thx Allan
-
Thank you very much for reply :-) When i develop the workflow i use my system admin account, dont no what else i need! Found this in the log files, Unexpected Declarative workflows cannot automatically start if the triggering action was performed by System Account. Canceling workflow auto-start. List Id: 2017db47-c26a-423b-ad04-70e918d0fc6f, Item Id: 108, Workflow Association Id: a28126ee-baf4-41aa-8354-6c91ac2553a1 /thx Allan
Make sure you have installed SharePoint using the least privileged accounts detailed here http://technet.microsoft.com/en-us/library/cc263445.aspx[^] You should not be using the System account ot perform actions.
Failure is not an option; it's the default selection.
-
Make sure you have installed SharePoint using the least privileged accounts detailed here http://technet.microsoft.com/en-us/library/cc263445.aspx[^] You should not be using the System account ot perform actions.
Failure is not an option; it's the default selection.
Sadly i did not install it when it was launched! i dont know why my account is system account where can i change it? I tried to log in using another account and changed a list element, this made the workflow run perfectly :-) so you where wright when you said it was a problem with the accounts, strange problem !! but thanks for pointing me in the right direction :-D So now 2 questions remain, how can i remove me being system account and what kind of user should i use when using sharepoint designer?
-
Sadly i did not install it when it was launched! i dont know why my account is system account where can i change it? I tried to log in using another account and changed a list element, this made the workflow run perfectly :-) so you where wright when you said it was a problem with the accounts, strange problem !! but thanks for pointing me in the right direction :-D So now 2 questions remain, how can i remove me being system account and what kind of user should i use when using sharepoint designer?
Yes everything works fine now, for other people having same issue here is what i did; apparently system account can not run Workflows which means if your account is a system account it will not be able to initiate a workflow! This also applies when creating workflows in Sharepoint designer, which will run when email is received. This means you have to create user for example SPworkflow and make this a site collection admin: Site Settings > Permissions > Site Collection Administrators Then log in to Sharepoint designer again and save the workflows using this account!!!! :wtf: