SAP Build Process Automation – Array push method

Greetings,

We are currently using the push() method in a custom script in SAP Build Process Automation.

However the:

  1. The push() method does not add items to the end of the array but rather overwrites the entire array with the current item:

Custom Script with the push method:

SekhuteTK_0-1707294552591.png

Results of the Array method overwriting every entry instead of adding as expected: 

Below are screenshots to show the array overwriting the entries in every iteration:

SekhuteTK_1-1707294705811.png

SekhuteTK_2-1707294789045.png

SekhuteTK_3-1707294964807.png

Please advise how we can resolve the above mentioned.

Kind Regards,

 

 

 

 

Scroll to Top