<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Can't create a task for document in mounted folder via QMS API in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-t-create-a-task-for-document-in-mounted-folder-via-QMS-API/m-p/1973726#M1289858</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I'm trying to automate QMC tasks management with Powershell, but struggling with mounted folders. I'm using this &lt;A href="https://github.com/QlikProfessionalServices/QlikView-CLI" target="_self"&gt;Poweshell API client&lt;/A&gt; , but i have the same issues working with C# SDK.&lt;/P&gt;
&lt;P data-unlink="true"&gt;Here is the code sample:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;# Connect QlikView
$Connection= Connect-QlikView -Version IQMS2
# Get desired document
$document = (Get-QVUserDocuments -qvsID $qvsid -Connection $Connection | Where {$_.Name -eq "Test.qvw" -and $_.RelativePath -eq "Test" -and $_.FolderID -eq '95492e9e-6210-493e-b513-543133b82775' })[0]
# Create task object
$task=New-QVDocumentTask -Scope "General,Reload,Triggering"  -ID (New-Guid).Guid -QDSID $QDSID 
    -General @{TaskName="SourceDocuments/Test/Test.qvw"; Enabled=$true; TaskWizardTrack="None"} 
    -Document $document -Reload @{Mode='Full'; SectionAccessMode='UseQDSAccount'} 
    -Triggering (New-QVTaskTriggering -Executionattempts 1 -Executiontimeout 360 -Triggers @([QlikView_CLI.QMSAPI.ExternalEventTrigger]@{Enabled=$true; ID=(new-guid).Guid; Type='ExternalEventTrigger'; Password="" }) ) 
# Save task
Save-QVDocumentTask -Documenttask $task -Connection $Connection&lt;/LI-CODE&gt;
&lt;P&gt;It works great while .qwv`s are in C://Program Data/QlikTech/Documents , but behaves really strange with mounted folder.&lt;/P&gt;
&lt;P&gt;In fact, it actually creates the task, but when i run it, the task always fails with the following reason&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;(8/26/2022 6:38:27 PM) Error: The task "SourceDocuments/Test/Test.qvw" failed. Exception: || QDSMain.Exceptions.TaskFailedException: Task execution failed with errors to follow. ---&amp;gt; QDSMain.Exceptions.SourceDocumentNotFoundException: Could not find SourceDocument (Distribution): qvp://rds1/Test/Test.qvw ||    at QDSMain.DistributeTask.PerformExecute(IExecutingTaskResult executingTaskResult) ||    --- End of inner exception stack trace --- ||    at QDSMain.DistributeTask.PerformExecute(IExecutingTaskResult executingTaskResult) ||    at QDSMain.Task.AbstractTask.TaskExecution(CurrentExecutionArgs args)

&lt;/LI-CODE&gt;
&lt;P&gt;Tasks created from root folder have no such problems.&lt;/P&gt;
&lt;P&gt;Maybe there is something&amp;nbsp; i'm missing?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;Note: I do not have Publisher license on this server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>VRyzhkov</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Can't create a task for document in mounted folder via QMS API</title>
      <link>https://community.qlik.com/t5/QlikView/Can-t-create-a-task-for-document-in-mounted-folder-via-QMS-API/m-p/1973726#M1289858</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I'm trying to automate QMC tasks management with Powershell, but struggling with mounted folders. I'm using this &lt;A href="https://github.com/QlikProfessionalServices/QlikView-CLI" target="_self"&gt;Poweshell API client&lt;/A&gt; , but i have the same issues working with C# SDK.&lt;/P&gt;
&lt;P data-unlink="true"&gt;Here is the code sample:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;# Connect QlikView
$Connection= Connect-QlikView -Version IQMS2
# Get desired document
$document = (Get-QVUserDocuments -qvsID $qvsid -Connection $Connection | Where {$_.Name -eq "Test.qvw" -and $_.RelativePath -eq "Test" -and $_.FolderID -eq '95492e9e-6210-493e-b513-543133b82775' })[0]
# Create task object
$task=New-QVDocumentTask -Scope "General,Reload,Triggering"  -ID (New-Guid).Guid -QDSID $QDSID 
    -General @{TaskName="SourceDocuments/Test/Test.qvw"; Enabled=$true; TaskWizardTrack="None"} 
    -Document $document -Reload @{Mode='Full'; SectionAccessMode='UseQDSAccount'} 
    -Triggering (New-QVTaskTriggering -Executionattempts 1 -Executiontimeout 360 -Triggers @([QlikView_CLI.QMSAPI.ExternalEventTrigger]@{Enabled=$true; ID=(new-guid).Guid; Type='ExternalEventTrigger'; Password="" }) ) 
# Save task
Save-QVDocumentTask -Documenttask $task -Connection $Connection&lt;/LI-CODE&gt;
&lt;P&gt;It works great while .qwv`s are in C://Program Data/QlikTech/Documents , but behaves really strange with mounted folder.&lt;/P&gt;
&lt;P&gt;In fact, it actually creates the task, but when i run it, the task always fails with the following reason&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;(8/26/2022 6:38:27 PM) Error: The task "SourceDocuments/Test/Test.qvw" failed. Exception: || QDSMain.Exceptions.TaskFailedException: Task execution failed with errors to follow. ---&amp;gt; QDSMain.Exceptions.SourceDocumentNotFoundException: Could not find SourceDocument (Distribution): qvp://rds1/Test/Test.qvw ||    at QDSMain.DistributeTask.PerformExecute(IExecutingTaskResult executingTaskResult) ||    --- End of inner exception stack trace --- ||    at QDSMain.DistributeTask.PerformExecute(IExecutingTaskResult executingTaskResult) ||    at QDSMain.Task.AbstractTask.TaskExecution(CurrentExecutionArgs args)

&lt;/LI-CODE&gt;
&lt;P&gt;Tasks created from root folder have no such problems.&lt;/P&gt;
&lt;P&gt;Maybe there is something&amp;nbsp; i'm missing?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;Note: I do not have Publisher license on this server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-t-create-a-task-for-document-in-mounted-folder-via-QMS-API/m-p/1973726#M1289858</guid>
      <dc:creator>VRyzhkov</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
  </channel>
</rss>

