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

Data Mapping Assign to an Array.

edited Oct 25, 2018 12:42PM in Process Automation 6 comments

Summary

Trying to do a data mapping to an array

Content

I have a target business object that contains an array.  I'm struggling to find a way to map into it.  The array is an array of name/value pairs.

I tried

"test" -> myvar.myarray[0].name
"myval" -> myvar.myarray[0].value

but I get an error that myvar.myarray doesn't exist.

I was able to create a temp name/value variable and put it in using this syntax:

create business object mytempval (name/value)
Assign "test" to mytempval.name
Assign "myval" to mytempval.value

then assign this variable to the array like this:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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