NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Active IQ Unified Manager Discussions

Cifs Share Finder issues

olson
5,769 Views

Hey I am encountering a error I was hoping someone could help me resolve.

I have a simple workflow that tries to use the cm_storage.cifs_shares table to recreate cifs shares. When I run this workflow i am unable to get the loop to function correctly.

There are 2 errors I am seeing

During execution I get this

Failed to register member variable 'CIFS_ShareMember1' for row #1

I have attached the workflow as a image.

The filter select is

select

    `cifs_share`.`name` as "cifs_share.name",

    `cifs_share`.`path` as "cifs_share.path",

    `cifs_share`.`comment` as "cifs_share.comment",

    cluster.primary_address as "vserver.cluster.primary_address",

    cluster.name as "name",

    vserver.name as "vserver.name"

from

    cm_storage.cifs_share,

    cm_storage.vserver,

    cm_storage.cluster

WHERE

    cifs_share.vserver_id = vserver.id

    AND vserver.cluster_id = cluster.id

    and vserver.name = '${SVM_Name}'

    AND cluster.name = '${Cluster_Name}'

    AND cifs_share.path != '/'

finder is base on this filter

The row loops on this criteria

2 REPLIES 2

solal
5,769 Views

Hi olson,

Could you please upload your workflow so we can take a look, instead of replying back-and-forth?...

Solal.

majidm
5,769 Views

Hi,

You get this error when you use a finder but don't give the variable input to finder.

attached is the screen shot of how you should declare it, after doing this even though you are facing issues then upload your sample workflow that has the problem.

Thanks & Regards,

Majid M A

Public