How get the value from a dictionary?

Hi,  I have a question how can I get the value from a dictionary?

e.g. Status: "enable", how can i get only the text?

in this image how can i get the text "enviado"?

And the value of a list of dictionaries with a specificied key?

  Discussion posts and replies are publicly visible

Parents Reply Children
  • a!localVariables(
      local!myDictionary: (index(a!queryEntity(
        entity: cons!GP_Pedido_Entity,
        query: a!query(
          selection: a!querySelection(
            columns: {
              a!queryColumn(
                field: "estadopedido"
              )
            }
          ),
          logicalexpression: a!queryLogicalExpression(
            operator: "AND",
            filters: {
              a!queryFilter(
                field: "nombrepedido",
                operator: "=",
                value: ri!nombrePedido
              )
            },
            ignoreFiltersWithEmptyValues: true
          ),
          pagingInfo: a!pagingInfo(
            startIndex: 1,
            batchSize: -1
          )
        ),
        fetchTotalCount: false
      ).data,1))
      ,
      fn!index(local!myDictionary,"estadopedido",null)
    )