I'm new to Nintex workflows and we have a requirement where we need to add a task action to workflow definition that's already created and have certain in progress workflows running. Also , is there a way to deploy/push the new actions to the workflow definition through powershell ? I believe that the new task action will take effect with workflows that will be triggered new and not for existing in progress workflows.
Pleas let us know if any one has any idea . Thanks in advance !
This could be possible using powershell. However, I recommend not to do it as this is an unsupported way and requires quite heave xml manipulation.
Using a powershell script you can either use NWAdmin tool or Nintex Webservice to export a xml workflow file and publish/deploy a workflow using this xml file. Bewteen export and publish you would have to use powershell to manipulate the xml file and add the task action as required. However, afaik there is no public documentation that explains where and how to add actions by editing the xml file. Therefore you would have to use and existing xml workflow file that includes a task action as a blueprint.
@Vidya_CK wrote: I believe that the new task action will take effect with workflows that will be triggered new and not for existing in progress workflows.
That is correct.
Keep us informed about your progress.