Change the workflow initiator during the workflow execution


Userlevel 2
Badge +6

Is it possible to change the user in the workflow initiator role (whoever kicked of a particular workflow) during the workflow execution?

In my use case a workflow can run for few days to few months. During this time there is a possibility that the initiator's user profile will be deleted from AD.


2 replies

Badge +11

Hi,

It is not possible to change the Initiator name from within the workflow.

As an alternative, you can create a dummy workflow which will be initiated by the user. Within this workflow, create an action to start the main workflow with Web Service action using Admin/Owner credentials. The main workflow should be published as admin account or Owner account. So evertime a user initiates a workflow, the main workflow always starts with the common account and not the user account. Hope it helps.

Userlevel 2
Badge +6

As an end result we decided to change the AD - SharePoint user profile syncron (to manual for deletion). Whenever a user gets deleted from the AD the SP won't delete the userprofile automatically.

Reply