Hi,
I'm not sure if this is caused by ARAT or by the underlying RTB Api.
If I run automation/ant/build_rtb_import.xml with following parameters
Import settings =================
Workspace : Test
Source workspaces :
Product modules :
Tasks :
Releases : 0
Higher versions only: yes
Current release only: no
Complete tasks only : yes
Is it possible to give Higher versions only priority over Complete tasks only ?
My Import report shows lower versions.
Source wspace |
task |
obj-type |
pmod |
object |
imp-status |
new version |
current version |
imp-action |
done |
orphan |
Development |
21613 |
char+scripts upload |
||||||||
Development |
21613 |
PCODE |
scripts |
START_KODM |
INC |
10000 |
n/a |
Assign |
no |
no |
Development |
21613 |
PCODE |
scripts |
STOP_BATCH |
INC |
10000 |
n/a |
Assign |
no |
no |
Development |
21613 |
PCODE |
scripts |
STOP_KODM |
INC |
10000 |
n/a |
Assign |
no |
no |
Development |
21613 |
PCODE |
scripts |
STOP_QUEUE |
INC |
10000 |
10001 |
Assign |
no |
yes |
Development |
21613 |
PCODE |
scripts |
START_BATCH |
INC |
10000 |
n/a |
Assign |
no |
no |
Development |
22035 |
Overbrengen vertegenwoordigersapplicatie |
||||||||
Development |
22035 |
PCODE |
vertapp |
communication.cls |
INC |
10000 |
10001 |
Assign |
no |
yes |
Development |
22035 |
PCODE |
vertapp |
importexport-l.p |
INC |
10000 |
10001 |
Assign |
no |
yes |
Development |
22035 |
PCODE |
vertapp |
overzicht-u.w |
INC |
10000 |
10001 |
Assign |
no |
yes |
Development |
22256 |
ERPWOR: Afmelden operaties: controle afgewerkt aantal |
||||||||
Development |
22256 |
PCODE |
erpwor |
wommat-s.w |
INC |
10005 |
10006 |
Assign |
no |
yes |
Development |
22822 |
CCETOOLS: Na creatie nieuwe "save selection" komt grid op andere "save selection" |
||||||||
Development |
22822 |
PCODE |
ccetools |
prntsel-u.w |
INC |
10004 |
10005 |
Assign |
no |
yes |
Development |
23284 |
ERPWOR: Error handling - Geen code in do-aktie |
||||||||
Development |
23284 |
PCODE |
erpwor |
poo3-u.w |
INC |
10003 |
10004 |
Assign |
no |
yes |
Development |
23284 |
PCODE |
erpwor |
urd-u.w |
INC |
10002 |
10003 |
Assign |
no |
yes |
Import settings ================= Workspace : Test Source workspaces : Product modules : Tasks : Releases : 0 Higher versions only: yes Current release only: no Complete tasks only : yes
Please give it a try with the standard UI and see if there is any difference. The higher versions only toggle controls the INClude/EXClude status.
In standard UI the files are present but "EXC"luded
automation/appSolutions/appSolute/RTB/Automation/adrtb_buildimport.p contains
IF glImportIncludeAll = TRUE THEN DO: ASSIGN cMessage = " Setting 'include all' on import table...". oRTBAutomationApi:displayMessage(cMessage, YES, YES). /* Make sure all entries in the import table are set to be included. Note this is a dangerous thing to have set as a default - so use with caution. */ IF glImportIncludeAll THEN oRTBAutomationApi:rtbIncludeAllImports(INPUT pcWorkspace). END.
this code does not take glImportHigherVerOnly into account. It sets all import on INC .
The code states this is dangerous but the sample config automation/config/process_windows.json has this set to true, I'll change the setting in our config for now.
"RtbImport": [ { "WspaceId": "prompt", "RtbUser": "${RtbUser}", "RtbPassword": "${RtbPassword}", "BuildImport": true, "SourceWorkspaces": "", "Pmods": "*", "TaskList": "prompt", "ReleaseNum": "0", "HigherVerOnly": true, "CurrReleaseOnly": true, "CompleteTasksOnly": true, "IncludeAll": true, "ApplyImport": true, "ReportAfterBuild": true, "ReportAfterApply": true, "DeleteAfterApply": true, "MailResult": true, "DeleteExistingImportTable": true, "CompileAfterImport": true, "CreateTaskForImport": true, "CompleteImportTask": true, "MaxWorkspaces": "${RtbMaxWorkspaces}" } ],
I think I need IncludeAll to make sure that deletes are imported. I'll disable CompleteTasksOnly for now.
Yes, delete actions are set to 'EXClude' by default.