great feature because you don’t have to add fields to your object; you can just calculate them in your script then use this function to add them irData.getChildrenData("Child Name") Returns a list of list = irData.getChildrenData(“LEVEL2”) children that are under the current data element irData.setAsCurrent(List Member) Sets the current list member as the current data element which allows you to perform getCurrentData() and setCurrenData() functions on it irData.setAsCurrent(List Name, Index) Another variation list = irData.getChildrenData(“LEVEL2”) of the above firstLEVEL2 = irData.setAsCurrent(list, 0) function that secondLEVEL2 = irData.setAsCurrent(list, returns the data 1) element from the list that is at the specified index (first element has index 0)
great feature because you don’t have to add fields to your object; you can just calculate them in your script then use this function to add them irData.getChildrenData("Child Name") Returns a list of children that are under the current data element list = irData.getChildrenData(“LEVEL2”) irData.setAsCurrent(List Member) Sets the current list member as the current data element which allows you to perform getCurrentData() and setCurrenData() functions on it irData.setAsCurrent(List Name, Index) Another variation of the above function that returns the data element from the list that is at the specified index (first element has index 0) list = irData.getChildrenData(“LEVEL2”) firstLEVEL2 = irData.setAsCurrent(list, 0) secondLEVEL2 = irData.setAsCurrent(list, 1)
How-to-Use-Integration-Automation-Scripts.docx