Hey FSM experts, I have a custom record "Vendor L...
# general
j
Hey FSM experts, I have a custom record "Vendor List" as a child sublist in the case record which is parent to a task record. How do I bring this information in tabular format inside a tab that references my task record? The following is what I tried!
Copy code
{
    "vendordetails": {
        "label": "Vendor Details",
        "icon": "info",
        "max": 1,
        "//min": 1,
        "element": {
            "vendor_list": {
                "type": "table",
                "label": "Vendor List",
                "readonly": true
            },
            "item": {
                "type": "text",
                "label": "Item",
                "parent": "vendor_list",
                "column": 1,
                "readonly": true
            },
            "quantity": {
                "type": "number",
                "label": "Quantity",
                "parent": "vendor_list",
                "column": 2,
                "readonly": true
            }
        },
        "article": {
            "supportcase": {
                "record": "supportcase",
                "filters": "${ event.supportcase }",
                "map": {
                    "id": "internalid",
                    "service_instructions": "custevent_test1|",
                    "dispenser_locations": "custevent_test2|"
                }
            },
            "vendor_list": {
                "record": "customrecord_test_vendor_list",
                "filters": [
                    [
                        "custrecord1",
                        "anyof",
                        "${ event.supportcase }"
                    ]
                ],
                "map": [
                    {
                        "item": "custrecord2|",
                        "quantity": "custrecord3|",
                        "route": "custrecord4|"
                    }
                ]
            }
        }
    },
}
@battk Any insights?
@Sandii @Sam-I-Am
@alien4u