SharePoint Designer Workflow security context

Hi,

I have a SharePoint Document library, where documents are being uploaded automatically using a webservice and it uses "system account" to post the documents. Now, I have set up a SharePoint Designer workflow to start automatically when an Item is created to delete the documents 14days after the item is created.

Here are my workflow steps:

1. Pause Until Duration for 14 days
2.Delete the Item.

Now, since the account under which this will be running is the account that created the item, which is system account, Do I need to add an impersonation step prior to Pause Until Duration Step?

Please help,
TechsavyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

QPRCommented:
Shouldn't need to, so long as the instigator has delete (contribute) permissions it doesn't matter who created the doc
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TechsavyAuthor Commented:
Hi QPR,

Thanks for the response, but there are cases where some users are saying that a SPD designer workflow can't start automatically if the initiator is a system account. Please see below.

http://social.msdn.microsoft.com/Forums/en-US/d10d8be2-2846-4b20-8d44-bc2780bcdac5/custom-spd-workflows-do-not-start-while-triggered-by-system-account-any-workaround?forum=sharepointcustomizationlegacy
0
TechsavyAuthor Commented:
Hi QPR,

If I were to add imperonation step, where should I add it? should it be the first step?

Thanks
0
Ammar GaffarSoftware EngineerCommented:
This is to confirm that workflow can't start automatically if the initiator is a system account, so even impersonation step will not fix it because it will be a part of your workflow which is not running!

Try to create another account in your AD for this purpose (and of course will be valid for similar situations) and use this account to call the targeted web service.

Good Luck
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.