Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. Sharepoint designer workflow dosnt autorun works manually do!

Sharepoint designer workflow dosnt autorun works manually do!

Scheduled Pinned Locked Moved SharePoint
helpsharepointcomquestionworkspace
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dahund
    wrote on last edited by
    #1

    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 ???

    N 1 Reply Last reply
    0
    • D dahund

      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 ???

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      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.

      D 1 Reply Last reply
      0
      • N Not Active

        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.

        D Offline
        D Offline
        dahund
        wrote on last edited by
        #3

        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

        N 1 Reply Last reply
        0
        • D dahund

          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

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          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.

          D 1 Reply Last reply
          0
          • N Not Active

            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.

            D Offline
            D Offline
            dahund
            wrote on last edited by
            #5

            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?

            D 1 Reply Last reply
            0
            • D dahund

              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?

              D Offline
              D Offline
              dahund
              wrote on last edited by
              #6

              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:

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups