Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>OK first thing to realise is that Folders and Views are two different things. </p> <ul> <li>A view will list documents based on a pre-defined search criteria. </li> <li>A folder contains documents that have been marked as being in that folder. </li> </ul> <p>So you can't "move" a document from a view to a folder as they have no real connection to each other. </p> <p>What you can do is remove a document from the view by having it fail the search criteria. In this case here is the code for the sent view. </p> <pre><code>SELECT DeliveredDate = "" &amp; PostedDate != "" &amp; !(@IsMember("S"; ExcludeFromView)) </code></pre> <p>This means the following. </p> <blockquote> <p>Show the document in the view if the field "DeliveredDate" is blank and PostedDate is not blank, and the field ExcludeFromView does not contain an "S".</p> </blockquote> <p>So the quickest way to remove it is to add an "S" to the existing value in the ExcludeFromView field. </p> <p>Now to add it to the inBox folder you can just move the document to that folder.</p> <p><strong>DISCLAIMER:</strong> I have not tested this agent, use at your own risk. </p> <p>You should be able to do both by creating a simple agent with the following (use Add Condition button to create them). </p> <p><img src="https://i.stack.imgur.com/UY0dV.png" alt="Simple Agent"></p> <p>Then clicking on "Document Selection" you can specify to check documents only in the sent view.</p> <p><img src="https://i.stack.imgur.com/2Q68i.png" alt="Document Selection"></p> <p>Lastly right click on the white area and select Agent properties. You can specify how you want it to run (scheduled or from menu). </p> <p><em>Example:</em></p> <p><img src="https://i.stack.imgur.com/eFTnW.png" alt="run settings"></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload