JAMS Developer Guide
Continuous Property (ForEachFile)


MVPSI.JAMS.Activities Namespace > ForEachFile Class : Continuous Property

When set to true, the activity will run continuously, even when there are no matching files. When there are no matches, the activity waits until a file arrives. When set to false, the activity completes when there are no matching files.

Make sure that your workflow does something to the matching files so that they no longer match. Otherwise, you will create a loop.

Syntax
'Declaration
 
<System.ComponentModel.CategoryAttribute("Configuration")>
Public Property Continuous As System.Boolean
'Usage
 
Dim instance As ForEachFile
Dim value As System.Boolean
 
instance.Continuous = value
 
value = instance.Continuous
[System.ComponentModel.Category("Configuration")]
public System.bool Continuous {get; set;}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ForEachFile Class
ForEachFile Members