WFA 5 workflow execution fails on disconnect user CIFS session
- Views:
- 165
- Visibility:
- Public
- Votes:
- 0
- Category:
- oncommand-workflow-automation-wfa
- Specialty:
- om
- Last Updated:
Applies to
WFA 5.x
Issue
In workflows where you disconnect CIFS sessions for users via powershell the workflow fails
CLI
PS C:\powershell> close-nccifssession -SessionId 13404964290887995043
Close-NcCifsSession : Cannot bind parameter 'SessionId'. Cannot convert value "13404964290887995043" to type "System.Int64". Error: "Value was either too large or too small for an Int64."
WFA log extract:
10:31:13.823 ERROR [Close Cifs Session] Parameter 'SessionId' is mandatory for Data ONTAP 9.0 and up.
10:31:13.839 ERROR [Close Cifs Session] Error closing session for windows user test_cs_quota1
10:31:13.917 ERROR [Close Cifs Session] Command failed for Workflow 'User_Quota_Increase' with error : Error closing session for windows user test_cs_quota1
10:31:13.917 INFO [Close Cifs Session] ***** Workflow Execution Failed *****