brenroad
Nintex Observer

Run as workflow owner

What happens if the person that created/updated the WF last is leaving the company (eg their AD credentials will be disabled) and an action is set to run as WF owner? Will that action fail?

0 Kudos
Reply
4 Replies
kunalpatel
Automation Master
Automation Master

Re: Run as workflow owner

 

 

@brenroad .... they will fail if the account is an orphan user in SharePoint. As a best practice, it's better to publish workflows with a service account. 

0 Kudos
Reply
SimonMuntz
Nintex Employee
Nintex Employee

Re: Run as workflow owner

This used to be the case but I am pretty sure the behavior has changed as of SharePoint 2019 where the workflow will still run. I could be wrong but I am sure I saw this issue and tested it and found the workflow still ran. Anyway, good practice to use a service account to publish workflows.
0 Kudos
Reply
heget
Forms Fledgling

Re: Run as workflow owner

I have one trick for this case.

Simply call Web service to Start WF (as new wf) and after it will continue under the system account.

0 Kudos
Reply
kunalpatel
Automation Master
Automation Master

Re: Run as workflow owner

@heget ....you know that web service will also need the credentials. As a best practice use service account and save it as Nintex constant and use it.

0 Kudos
Reply