It is assumed that Engine DB has been migrated prior to this task execution and ALBPM 5.7 projects have been republished.
WARNING: When projects are republished, you should not redeploy them. If the deployment version is changed, you will not be able to migrate your attachments.
Required parameters:
The following example shows how to migrate attachments from a ProcessDB in MS SQLServer.
<fuego:migrateWE57to60 action="migrate_attachments" directoryFile="directory.xml" engineId="engine1">
<msSqlServerConfiguration
host="hostname"
port="1433"
user="processdbuser"
password="password"
database="processdb"/>
</fuego:migrateWE57to60>
The following example shows how to migrate attachments from a ProcessDB in Oracle.
<fuego:migrateWE57to60 action="migrate_attachments" directoryFile="directory.xml" engineId="engine1">
<oracleConfiguration
host="hostname"
port="1433"
user="processdb"
password="password"
sid="sidname"
schema="processdb"/>
</fuego:migrateWE57to60>
Note: Engine preset must exist in directory.xml file. It is defined by default.
| Attribute | Description | Type | Required? |
| directorypreset | Specify a "preset" for authentication to the BPM directory. | String | No Defaults to the "engine" preset. |
| engineid | String | ? | |
| action | String ["migrate_attachments", "migrate_mappings"] | ? | |
| verbose | Verbose output. | boolean | No Default is false |
| fuegobasedir | Path to BPM Enterprise installation directory. | File |
No Defaults to value of fuego.basedir property of your
Ant script.
|
| loaderref | Reference to BPM classloader. Used internally. | Reference | No |
| directoryfile |
Path to the directory.xml configuration file, used to connect to the BPM
directory.
|
File | No |
| Attribute | Description | Type | Required |
| port | int | ? | |
| user | String | ? | |
| password | String | ? | |
| host | String | ? | |
| database | String | ? |
| Attribute | Description | Type | Required |
| sid | String | ? | |
| port | int | ? | |
| user | String | ? | |
| password | String | ? | |
| host | String | ? | |
| schema | String | No If not set, it takes the value specified by attribute "user" |