Workflow will not start on PowerShell updated list item (InfoPath form) when script is triggered by Task Scheduler

Answered Workflow will not start on PowerShell updated list item (InfoPath form) when script is triggered by Task Scheduler

  • venerdì 13 aprile 2012 16:06
     
     

    I have a PS script that updates an item in a SP2010 list so that a workflow will be started.  When I run the PS script manually from the PS window on the server it resides, the script runs flawlessly.  If I set a scheduled task on the same server to run the script with the same credentials as are being used in the PS window, the script runs, updated the info on the list, but DOES NOT start the workflow.  As we know, SPD workflows cannot be started by anonymous or system accounts.  It is as if the task scheduler adds a bit of information that makes the SP2010 list think the information was updated by one of these accounts even though the field in the list for the item being updated shows the correct account.

    HELP!!!

    D

Tutte le risposte