You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Simple expression to add value to array

edited Apr 11, 2018 7:00AM in Process Automation

Summary

Simple expression to add value to array

Content

I have an array body.creditLine.  I need to add a value to the end of that array.  I use the following:

body.creditLine[body.creditLine.length].lineAmount

this works and validates fine, however after i apply it then go back in it switches to

body.creditLine[body.creditLine.length()].lineAmount and shows as invalid.  However it still passes validation fine, but then it doesnt work when it runs.  it doesnt fail, just doesnt add the value

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!