...
- Open your job chain in JOE (JobScheduler Object Editor), expand job chain configuration by clicking on
Job Chains --> FileWatching
and click onSteps/Nodes.
- From right window pan select
File Order Source
tab. - Click on
New File Order Source
, this will open a dialog to create a new File Order Source configuration. - Click in the text filed in front of
Directory
parameter, configure directory which should be watched for arrival of file e.g.c:\sandbox\outgoing.
- Click in the text field in-front of
Regex
parameter, configure file name or Regular Expression e.g.^test.txt$.
- Click
Apply File Order Source
button to apply your configuration. - Click
Save
to save job chain.
Example: job chain FileWatching - file order source
...
- Open your job chain in JOE (JobScheduler Object Editor), expand job chain configuration by clicking on
Job Chains --> FileWatching
and click onSteps/Nodes.
- From right wondow pan select
Nodes
tab. - Click on state
success
, this will enable the dialog to configure FIle Order Sink for success state. - Select radio option File Sink.
- Select check box
Remove File
to enable delete file after successful processing. - Click
Apply Chain Node
button to apply your configuration. - Click
Save
to save job chain. - Repeat steps 3 to 7 for error state too.
...
- Open your job chain in JOE (JobScheduler Object Editor), expand job chain configuration by clicking on
Job Chains --> FileWatching
and click onSteps/Nodes.
- From right wondow pan select
Nodes
tab. - Click on state
success
, this will enable the dialog to configure FIle Order Sink for success state. - Select radio option File Sink.
- Click in the text field in-front of
Move to
parameter, configure directory location where file should be move after successful processing e.g.c:\sandbox\success.
- Click
Apply Chain Node
button to apply your configuration. - Click
Save
to save job chain. - Repeat steps 3 to 7 for error state too.
...