Sign in to Community
Sign in to view all badges
I have some work policy to enforce some fields in the workflow properties after someone edit the workflow.
I try to use the XML tag <leave> and put it into xtk:workflow input form to check after someone edit the form but it is not working.
I'm not quite sure that I'm doing at the correct location or not.
Yes, you can use the <leave> element on the xtk:workflow form.
If you wnat to force some fields to be set, use the <set> element :
<set value="1" xpath="@myField"/>
<set value="2" xpath="@myField"/>
You can use this on container, subForm or at the end of the global form.
You can use temporary fields (not saved) with /tmp or /ignored elements.