Workflow configuration for the Sync Product Files custom step (Production Mapping)
The Sync Product Files step copies files from job attachments to the product or vice versa. A series of parameters is available to define which files need to be synchronized on the job or on the product.
The table below outlines each step-type argument and associated behavior:
Name | Description | Argument example | Behavior |
---|---|---|---|
Copy Files | Specifies the direction in which the files will be synchronized. Three options are available:
| /SyncDirection:FromProductToJob | Copies files from the product to the job attachments. |
/SyncLocation:"<location>" | Saves the files in the specified location; the files are then linked to the job. | ||
/SyncDirection: FromJobToProduct | Copies files from job attachments to the product. | ||
Files to Copy | Specifies which files will be synchronized. Two options are available:
| /SyncOption: AllFiles | Copies all files even if they exist at the target location. |
/SyncOption: OnlyNewFiles | Copies only the files that don’t exist at the target location. | ||
Allow Update on Job (Optional) | Determines whether the job may be updated on step execution. Two options are available:
| /Allow Update: True | On step execution, the Sync Product Files dialog box appears, and you can choose to update the direction of synchronization and which files to synchronize. |
/Allow Update: False | On step execution, the Sync Product Files dialog box appears, but you cannot update this property. |
When configuring the step execution, if the supported platform is set to Both or Server, all error messages are suppressed. By default the setting is Both. Only the Desktop option allows you to see the error messages at execution.
For details, see Configuring the custom object step execution.