Skip to main content
Best answer by stefanhelzle0001

Appian references documents by their ID already. So you can pass a valid integer to functions that expect a document, and vice versa.

And you can use tointeger() or the document() function to turn a document into a number, or get the ID from a document.

docs.appian.com/.../fnc_scripting_document.html

9 replies

stefanhelzle0001
September 15, 2023

Appian references documents by their ID already. So you can pass a valid integer to functions that expect a document, and vice versa.

And you can use tointeger() or the document() function to turn a document into a number, or get the ID from a document.

docs.appian.com/.../fnc_scripting_document.html

ravichandrar0002
September 15, 2023

Thanks Stefan Helzle