Thanks TMACUL for the document.
I went through the document and found setting default value to business object variables, they have mentioned below syntax:
${args.variable:default}
so as per above syntax i'm trying to set the workflow.length value to zero as shown below:
${args.workflow.length:0}
Am I doing it right? since this doesnt seem to work.
The reason I'm trying to achieve this is , when raising a Change order ticket , even before selecting the category it attaches the workflow to the new ticket and as soon as you save the new change order ticket, the workflow mapped to the selected change order also gets appended to the above workflow task.
I observed that during the page load of the detail_chg.htmpl itself, the args.workflow.length has the value which is greater than zero.