Run as workflow owner


Badge

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

Badge +12

 

 

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

Userlevel 6
Badge +22
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.
Badge +3

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.

Badge +12

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

Reply