Skip to main content
Nintex Community Menu Bar

Run as workflow owner

  • May 8, 2020
  • 4 replies
  • 24 views

Forum|alt.badge.img

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?

4 replies

Forum|alt.badge.img+12
  • Scholar
  • May 8, 2020

 

 

@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. 


Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • May 12, 2020
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.

Forum|alt.badge.img+3
  • May 12, 2020

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.


Forum|alt.badge.img+12
  • Scholar
  • May 12, 2020

@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.