Convert API response JSON to Array to disaply it on table

Hello there!

I am trying to put data from bigquery response API, into a table to create record types. 

So far, I have been able to get the response from bigquery and convert it to appian values, the response looks like this:

This is the response I get from bigquery api

then, I created a rule to narrow down to the values, but as you can see, the column name does not come from the response, so it displays all the values as rows but on the following way :

so as you see, I do not have columns  there , I guess the best way to go on this, will be to get the JSON response converted to an array, and then pass it to a table but not sure if this is possible, any advise?

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to rodrigoe0001

    Cool, I knew it was something like that.

    So from here what you do depends on what your intended end result is.  If your aim is to store the data exactly in a DB table, then in general my first step would be to create a DB table with the columns you need, then use the CDT creator in Appian (i.e. create CDT based on existing DB table).  Then you would be able to use the above logic i.e. in an expression rule called in a process node, save it to a multiple-PV set as your new CDT type, then pass that into a WTDS node.

Children