SPS Action: Coded File Name
This action allows you to parse out values from a coded filename based on a defined separator.
|
|
Synergize.ProcessServer.Actions.Core.dll |
v 1.0.0.15 SP38 |
|
Activity |
Type |
Description |
Bindable |
|---|---|---|---|
|
Name |
Sting |
Name of the action. |
False |
|
Description |
String |
Description of the action. Max 255 characters. |
False |
|
Enabled |
Boolean |
True or False |
False |
|
Activity |
Type |
Description |
Bindable |
|---|---|---|---|
|
Name |
Sting |
Name of the action. |
False |
|
Description |
String |
Description of the action. Max 255 characters. |
False |
|
Enabled |
Boolean |
True or False |
False |
|
Elements |
Collection |
Define a collection of fields to be extracted from the coded file name and a field separator. |
False |
|
Filename |
String |
The document to extract the coded file name from |
True (typically bound to the "ForEachFile.CurrentFile.FullName" |
To build your own example of an Coded File Name action, follow these steps.
-
In Administrative Tools, launch the Synergize Process Designer.
-
In the Enterprise Overview panel, right-click the Synergize Processes node and choose Create Process from the context menu.
-
Select the new process titled Untitled.
-
In the Properties window, name the new process CodedFileName.
-
In the Toolbar, save the process.
-
Add the following actions to the canvas:
-
Trigger | Delayed Execution | (name) Delay10Sec
Action
Name
Delay10Sec
Enabled
True
Timeout Duration
00:00:10
Binding
none
-
Synergize Actions | Synergize Connection | (name) ConnectToSynergize
Action
Name
ConnectToSynergize
Enabled
True
ConnectionParameters
Will display the connection details you have configured
DocumentView
Select the Document View if enabled
Timeout
00:01:30
WebServiceUrl
The WebService URL for Synergize is automatically displayed here
-
File Processing | For Each File | (name) ForEachFile
Action
Name
ForEachFile
Enabled
True
Error Directory
Path\To\Your\Files\Error
Processed Directory
Path\To\Your\Files\Processed
Source Directory
Path\To\Your\Files
Working Directory
Path\To\Your\Files\Working
MinimumFileAge
Leave at default value of 00:00:15
OnFailureAction
Move
OnFailureAction
Move
Recursive
Leave at False by default
SearchPattern
Leave at *.* by default
UseWorkingDirectory
True
-
Synergize Actions | Coded File Name | (name) ParseSourceName
Action
Name
ParseFileName
Enabled
True
Elements
Define the collection of fields that are to be extracted from the coded file name as Synergize fields for your connected repository. Define the Field Separator.
Filename
Bind to the ForEachFile, Current File, Full Name property
-
-
Save the process.
-
Before running this process, configure the synergizeConnectionAction | ConnectionParameters to your specific Synergize server. This step allows you to define the collection of fields that are to be extracted from the coded file name in the Elements configuration.
1. In the Enterprise Overview panel, right-click the Synergize Processes node and choose Process Overview from the context menu.
2. In the Process Status panel, click the Play button.
3. Monitor your results in the Activity Log panel to ensure that your Coded File Name action is logged.