cancel
Showing results for 
Search instead for 
Did you mean: 

Document.getProperty

steeve_gagnon
Champ in-the-making
Champ in-the-making

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

1 REPLY 1

Gregory_Carlin
Elite Collaborator
Elite Collaborator

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 😉

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.