Hello guys. I am relatively new to Appian. I have a sample PDF template with the code snippet as shown below:
Approver
«${doc.sample.details.SAMPLE_APPROVER_NAME}»«[#if doc. sample.details.SAMPLE_APPROVER_EMAIL?»«, ${doc. sample.details.SAMPLE_APPROVER_EMAIL}»«[/#if]»
«[#if doc. sample.details.SAMPLE_APPROVED_DATE?h»«${doc. sample.details.SAMPLE_APPROVED_DATE?date»«[/#if]»
where approver is the label and the other two columns are show how values are retrieved from the process.
There are many more labels which haveelements that are looped or which have conditional checks like -
«[#if doc.SAMPLE.funcs?size gt 0]» «[#assign cnt=0]» «[#list doc.SAMPLE.funcs as f]» «[#assign cnt = cnt + 1]»
The question is - I need to know how this syntax is being written. Is it OOXML ? (I mentioned I was pretty new to this so have no idea the language this is written in, sorry !)How does looping take place in such a language ?
I have another document for which I will need to retrieve the values from the process and generate a similar template. I have not come across this before and would be great if anyone could help. Thanks in advance.
Discussion posts and replies are publicly visible