Display an Array in Script Table Element

Hi,

I have a Data Action which outputs a list of arrays. Is it possible to display the array elements within a script using a Table?

For example, I need to display :
Row 1 : Order Number, PO Number, Status, Date (Record 1)
Row 2 : Order Number, PO Number, Status, Date (Record 2)
.
.
.
Row n : Order Number, PO Number, Status, Date (record n)

Please assist, I could not see the a dynamic table as part of script elements.

Regards,
Sizo

Hi,

If you can iterate through the array and create a string using the markdown syntax, you can then use the markdown component to visualize the table:

1 Like

Thank you very much. Markdown script component did the magic. I looped within my IVR and the script picked every list item that was added.

1 Like

@sizosg COuld you please share how you did it.

I've got action in scrip that result in array of text elements. An in each call there can be deferent number of elements. Array variable now is returned in script.

How do i process it to get what you did - a table of elements of the array?

Could you please share the solution and screens if possible. Th documentation about it lacks of real life examples.

Thanks in advance.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.