Hello,
I currently work with the FMEA table and in particular with singe FMEA entries. I try to create a data set for the causes and the effects of the entry.
//fmea line/ fmea entry object
var obj =row["@self"].getObject();
//failure modes could also be not set-> how to check, if the failure mode objects exists, before calling the failure modes? How do I call the failure modes?
var fm = obj.row["failureModes"];
//failure modes is an array, for each of the failure modes the causes should be found
for (var i = 0; i < fm.size(); i++) {
//the cause can also be not set
fm.get(i).getCaues(); > how to check, if the cauese object exists, before calling the failure modes? How do I call the causes?
}
Thank you in advance and kind reagards,
Krasimira