How to get inner properties of variable in feel editor

Let say, output of the service task is complex object that used in feel editor as a variable. Now Feel editor is suggesting it. But, is there any option to get inner properties via intelliSense by providing its schema to feel editor?

The scenario is to type below samples with using suggestion.
CityResponse.Name
CityResponse.Country.Region

Sample variable schema:

variables: [
{
    name: "CityResponse",
    info: "the output variable of the Service Task - GetCity",
    type: "bpmn:ServiceTask",
    properties: [
    {
        name: "Name",
        info: "the property of the CityResponse variable",
        type: "",
        properties: []
    },
    {
        name: "Country",
        info: "the property of the CityResponse variable",
        type: "",
        properties: [
            {
                name: "Region",
                info: "the property of the Country",
                type: "",
                properties: []
            },
        ]
    }
    ]
}
. . .
]

Hi @Yalcin ,

Schemas for Variables is planned but not yet scoped or implemented in the FEEL editor. Unfortunately, I can’t give you a timeline for it yet.

Thank you for the suggestion for a possible schema, it looks promising. We will take it into account during implementation. You are also welcome to contribute to the the FEEL editor with a Pull Request.

1 Like