Looking for some help to understand why our Set-PWDocumentState commands do not trigger the WRE when we do state changes.
Our scripts boils down to :
We also see the same kind of issue with New-PWDocumentVersion, just like the Set-PWDocumentState, we notice that the workflow rules have not been executed after execution.
Looking on the forums, we also saw the suggestion to use Invoke-WSGWorkflowCommand but that command gives the following:
Error: Manual change state not allowed. Please use Workflow customization rules to change document state.
Anyone has any pointers on how to investigate why the workflow isnt being triggered ?
See the thread below as well. Possible workaround to invoke the WRE commands via Web Services Gateway (WSG) and PWPS_WSG PowerShell module.Set-PWDocumentState enhancement