Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 3 File Palette : Wait for File Change

Wait for File Change
Activity
The Wait for File Change activity waits for a file creation, modification, or deletion event to occur during process execution. When this activity is executed, the process instance suspends and waits for the specified change to occur before resuming.
See Scalability With Incoming Events in TIBCO ActiveMatrix BusinessWorks Process Design Guide for information on running the "Wait for..." activities in a multi-engine mode.
Configuration
The Configuration tab has the following fields.
You can also use wildcards to monitor a directory for files that match the given specification. For example, C:\files\*.log would match any change to a file in the files directory with an extension of .log.
Event
The Event tab has the following fields.
You should specify the $fileInfo/fileName for the Candidate Event Key field, and you should specify concat("$CreateFile/fileName", "Changed") for the "key" field on the Input tab. $CreateFile/filename is the name of the file created earlier in the process. This expression is specified in XPath, and only data from the incoming event is available for use in this XPath expression. See TIBCO ActiveMatrix BusinessWorks Process Design for more information about XPath expressions.
 
Input
See TIBCO ActiveMatrix BusinessWorks Process Design for more information about mapping and transforming input data.
The input for the activity is the following.
Output
The output for the activity is the following.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved