2

I need to send email using workflow in 2007 MOSS when an anonymous user adds an item in the list.

With logged in users, workflow gets completed successfully, but with anonymous user, the list item gets added but workflow does not start.

What configurations are needed to allow anonymous users to start a workflow?

1 Answer 1

2

For the actions inside the workflow, you need to add an impersonation step to run as the author of the workflow. Edit the workflow in SharePoint Designer, and wrap the actions in an impersonation step.

For SP2007: You need to design your workflow in Visual Studios using the SPSecurity.RunWithElevatedPrivileges:

4
  • Hi Mike, I need to do it in sharepoint 2007. I think impersonation step does not work in 2007.
    – Priya
    Commented Nov 8, 2013 at 6:11
  • Please see my edit.
    – Mike
    Commented Nov 8, 2013 at 16:09
  • So is it not possible to allow anonymous users to access workflow just by configuration? I need to write code for that,is it so?
    – Priya
    Commented Nov 11, 2013 at 4:45
  • Yes. here is an article on how more to do this in SharePoint 2007: cticoder.wordpress.com/2008/12/24/…
    – Mike
    Commented Nov 11, 2013 at 14:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.