It's all about the answers!

Ask a question

[RQM] Primary key to decide update / create new artifacts in RQM via Excel Importer


Chandan M B (1133674) | asked Oct 12 '21, 2:20 a.m.

 Hello All,


 I have used the Excel Importer and I need to identify if the artifacts are not present it should create and if present it should update. Functionality is working fine. Just for understanding purpose, how exporter utility tool identifies whether to create or update the artifacts. Any primary key mapping done internally. Can somebody elaborate ?

Regards,
Chandan

Accepted answer


permanent link
Don Yang (7.7k21109138) | answered Nov 04 '21, 8:02 p.m.
Hi,Chandan

RQMExcelImporter uses external id to determine whether to create or update a test artifact.
If you don't use keyword XLSArtifactID to specify an external id, there is a default external id would be created
see the detailed explanation here:
So if the 2nd import hit the same artifact because the default external id is the same, it would update, otherwise, it would create a new one if XLSArtifactID is not used.
Chandan M B selected this answer as the correct answer

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.