2013-07-30 11:07 PM
when I execute the powershell cmdlet "Set-NaVfilerStorage -Name $VFilerName -AddStorage $volname -ErrorAction Stop" in a WFA-command then the workflow exits with error message "Command failed for Workflow 'LUN - Create' with error : Null value provided when not setting the root option"
But the volume is added to the vFiler.
Has anyone seen this? Is this an error which matters or can I safely ignore this?
Thanks for your help.
2013-07-31 12:18 AM
further investigation has shown that the powershell cmdlet as well as the WFA command solely run without the error message. But if this command is integrated in a workflow this error occours. Furthermore the command successfully finishes all statements and then the error is raised.
Ignoring the error is not possible because WFA would not proceed with the workflow.
Any help would be appreciated.
2013-07-31 11:05 PM
it is a custom workflow using a custom command.
Meanwhile I found the cause of the problem. Obviosly the try/catch statement is not executing the catch block when encountering an error. This error is raised at the end of the workflow after the very last statement in the command.
When knowing this it was not much work to find the erroneous code causing this problem ...
Thanks for your help!