Best way to map data into a composite data type

Chris
edited August 15 in Flows

I have a lot of simple data structures that together comprise a json object. I have a process that creates the structure with all of the data structures, then one that dynamically adds the required fields for a given scenario. What I then need to do is map in the corresponding values from a flow into those dynamic fields. I don't want to have to use a whole series of set value on a property, but I can't figure out an option. I know I can do it by creating each of the data structure separately and populating them individually - then putting them together at the end - but I'd like to know the options.

Comments

  • Hey Chris,


    I'd be glad to help you out here. Would a List Mapping Step help you here? This Step can be very helpful when using API calls with JSON data.


    More on the Step can be found here: List Mapping Step - List (decisions.com)


    Please let me know if this helps!


    -Cody

  • Chris
    edited August 15

    Nope it does not because it's the whole list, which would include both the name and value. I already have the named fields in the structure - what I'm trying to do is to then map in just the values for each of the fields.

    That what I tried first but that requires having all the data available at that point to create the full structure. I'm looking for way to update some of those values later in the flow.

  • Hey Chris,


    Okay, I understand. I think this would be best to address this on a support ticket. I have opened one up for you. The associated ticket is: [T-071741] Best Way to Map Data into Composite Data Type. Please follow up on the ticket for further assistance.


    -Cody

Sign In or Register to comment.