cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Can anyone identify why i cant map from my nested list in Workato?

ryan-avent
Deputy Chef II
Deputy Chef II

I have an array called records and this contains an array called actions to be mapped to an API response, i have mapped the records source list correctly but when selecting the actions source list i am not given the ability to map the actions datapil.




12 REPLIES 12

jblanchett
Deputy Chef III
Deputy Chef III

Try re-saving/refreshing the schema in step 8 then attempt to map it in again.

ryan-avent
Deputy Chef II
Deputy Chef II

Joseph Blanchett tried that sadly same issue, seems to be the case a bunch of other recipies aswell where ever i have an array that contains an array workato wont recognize the child, i must be doing somthing wrong somewhere as this is a basic requirment for message processing.


Example Schema:


[

{

"control_type": "number",

"label": "Object ID",

"parse_output": "float_conversion",

"type": "number",

"name": "objectId"

},

{

"control_type": "text",

"label": "Title",

"type": "string",

"name": "title"

},

{

"control_type": "text",

"label": "Link",

"type": "string",

"name": "link"

},

{

"control_type": "text",

"label": "Quote name",

"type": "string",

"name": "quoteName"

},

{

"control_type": "text",

"label": "Valid",

"type": "string",

"name": "valid"

},

{

"control_type": "text",

"label": "Amount",

"type": "string",

"name": "amount"

},

{

"name": "actions",

"type": "array",

"of": "object",

"label": "Actions",

"properties": [

{

"control_type": "text",

"label": "Type",

"type": "string",

"name": "type"

},

{

"control_type": "text",

"label": "Confirmation message",

"type": "string",

"name": "confirmationMessage"

},

{

"control_type": "text",

"label": "Confirm button text",

"type": "string",

"name": "confirmButtonText"

},

{

"control_type": "text",

"label": "Cancel button text",

"type": "string",

"name": "cancelButtonText"

},

{

"control_type": "text",

"label": "Http method",

"type": "string",

"name": "httpMethod"

},

{

"control_type": "text",

"label": "URI",

"type": "string",

"name": "uri"

},

{

"control_type": "text",

"label": "Label",

"type": "string",

"name": "label"

},

{

"control_type": "number",

"label": "Width",

"parse_output": "float_conversion",

"type": "number",

"name": "width"

},

{

"control_type": "number",

"label": "Height",

"parse_output": "float_conversion",

"type": "number",

"name": "height"

}

]

}

]

ryan-avent
Deputy Chef II
Deputy Chef II

looks like Workato has a bug (tested in chrome) the page forsnt allow you to select the datapil for the array (doesnt allow you to select) but iy you hightlight the text and drag it to the source list then it works.

iwhitman
Deputy Chef I
Deputy Chef I

Can you share the raw data (JSON or XML or otherwise) that mapped into the datapills shown in the screenshot?