Document.getProperty

In a automation chain i have :

- Context.SetVar:
    name: vReferenceNeutre
    value: "@{Document.getProperty(\"dec:xNoAz/sValeur\")}"

What is the syntaxe of Document.getProperty to get the first sValeur for a property with multiple value as :

"dec:xReferencesNeutres": [ 
{ "sValeur": "2021 QCCA 7", "sValeurOriginale": null, "sSource": null },
{ "sValeur": "2021 QCCA 1", "sValeurOriginale": null, "sSource": null },
{ "sValeur": "2021 QCCA 3", "sValeurOriginale": null, "sSource": null }
 ]

aa.jpg

FILES:   aa.jpg
0 votes

1 answers

59 views

ANSWER



Hello,

I guess it should be @{Document["csdec:xReferencesNeutres/0/sValeur"]}

Regards

Side node: When looking at your automation chain, I advise you to use automation scripting ;)

0 votes