Invoking Powershell Activity Bug

When invoking the powershell activity in another process/workflow. It will only work if you use it in a interactive workflow. not a standard workflow.