rszabo
Novice

Change the workflow initiator during the workflow execution

Jump to solution

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.

Reply
2 Replies
kapilkjoshi
Apprentice

Re: Change the workflow initiator during the workflow execution

Jump to solution

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.

View solution in original post

0 Kudos
Reply
rszabo
Novice

Re: Change the workflow initiator during the workflow execution

Jump to solution

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.

0 Kudos
Reply