Nintex Connect

The Official Community Site for Nintex Software Products, including Nintex Workflow 2007, 2010 and 2013; Nintex Workflow for Project Server 2010; Nintex Reporting 2008 and Nintex Analytics 2010; Nintex Forms 2010; Nintex Live and Nintex SmartLibrary.
Welcome to Nintex Connect Sign in | Join | Help
in Search

Running Nintex workflow under system account

Last post 02-28-2011, 5:47 AM by Autogen. 4 replies.
Sort Posts: Previous Next
  •  02-25-2011, 4:38 AM 15716

    Running Nintex workflow under system account

    Hi All


    I know there are some related topics already created but they don't give an answer.

    We have a MOSS application with the following use case:

    1) There is a list with a Nintex worflow. Workflow is triggered on Item Created event

    2) An appliaction user should not have any permissions to that list but must have an ability to create an item thus triggering the workflow

    3) Obviously we used SPSecurity.RunWithElevatedPriviledges to accomplish this task so a list item got created under the System Account and workflow is also triggered by it.


    Then we installed Service Pack 1 for the MOSS 2007 and it made impossible running declarative workflows (Nintext ones) under the System Account.

     We're not allowed to change the use case (user shouldn't have any permissions to the list) and we're not going to roll back Service Pack 1 installation.

    So the quesiton is simple: is there any known workaround which would allow us with minimal efforts to fix an app?

    Because we're now thinking of get rid of Nintex and use native (imperative) workflows.

  •  02-25-2011, 2:00 PM 15727 in reply to 15716

    Re: Running Nintex workflow under system account

    Hi Autogen,

    if you were to use SharePoint Designer workflows, you'd have the same issue.  SharePoint will not start declarative workflows if the intitiator is the System Account.

    The only workflow that comes to mind is for you to have a Scheduled Workflow.  Have it run once an hour or so, and get it to Query List your work list for item IDs where a workflow hasn't run or new items (look at creation date).

    Then use a Call Web Service action to start a workflow on each item using the credentials of a System Account or some super user.

  •  02-27-2011, 2:09 PM 15734 in reply to 15727

    Re: Running Nintex workflow under system account



    No, I meant writing workflows in c# and publishing them to GAC. SharePoint Designer is not an option of course.


    But do I understand you correctly? You say that invoking declarative workflow under System Account is possible if we run that workflow using Web Services rather than Object Model or triggers. Is this what you're saing?

  •  02-28-2011, 12:50 AM 15739 in reply to 15734

    Re: Running Nintex workflow under system account

    Hi Autogen,

    that is correct.  Nintex Workflow comes with a web service.


    There is a StartWorkflow web method and StartWorkflowOnListItem web method.  You can use those to start a workflow on the item using System Account credentials.

  •  02-28-2011, 5:47 AM 15742 in reply to 15739

    Re: Running Nintex workflow under system account

    Thank you very much
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems