The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to reigister at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Active IQ Unified Manager Discussions

Error when adding a volume to a vfiler with WFA-Command/Powershell

kiessl

Hi,

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.

Walter

3 REPLIES 3

kiessl

Hi,

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.

BR

Walter

shailaja

Can you share your custom workflow that used this certified command where you hit this error?

Thanks,

Shailaja

kiessl

Hi Shailaja,

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!

Best Regards

Walter

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public