Failed to map cmdb_ci_ot_isa_entity

AlfiyaK
Tera Contributor

I wanted to map site data into cmdb_ci_ot_isa_entity and according to requirement path attribute should be generated  automatically with provided data for Site attribute and short code attribute. But If I map data to path field then only its creating record in cmdb_ci_ot_isa_entity table otherwise it doesn't even creates any record.

 

Expectation: app should be able to generate path filed based on data given to Site+ short code Screenshot from 2024-09-12 11-21-23.png

5 REPLIES 5

Mani A
Tera Guru

go to transform data in top left side

 

use 'multiple input script' 

 

for (var i = 0; i < batch.length; i++) {

//access the input variables
var a = batch[i].u_site; //Value of the first source field.
var b = batch[i].u_short_code; //Value of the second source field
var c = a + b;
output[i] = b;
}

 

AlfiyaK
Tera Contributor

Requirement is not to map inside path variable without mapping to path it should work and it is working with background script without with giving path and its generating one but while running within etl transfrom map its not working

AlfiyaK
Tera Contributor

requirement is not map into path variable directly that should be generated using Business rule that is working while running back ground script but not which etl transform map. path attribues value should populate with BR without explicitly mapping it

 

@AlfiyaK  why did you write BR .

You can use ETL transform script itself.

 

And if BR is not working check conditions and put logs in it and test it