Hi friend , I want to define a workflow on share , now I have defined a workflow on alfresco and It can work on alfresco path. I want to used the workflow on share . so I have add code on "workflow.get.html.ftl" as "<option value="purchase
urchase">Purchase</option>". after I restart tomcat ,I can see my workflow on share.my problem is ,I have define two parameters on my model ,as :
<property name="purchase:nurse_id">
<title>Nurse No.</title>
<type>d:int</type>
</property>
<property name="purchase:nurse_name">
<title>Nurse Name</title>
<type>d:text</type>
</property>
add code on "workflow.js" as
// nurse_id: mandatory value
this.modules.form.addValidation(this.id + "-nurse_id", , Alfresco.forms.validation.number, null, "blur");
this.modules.form.addValidation(this.id + "-nurse_id", Alfresco.forms.validation.length);
// nurse_name: mandatory value
this.modules.form.addValidation(this.id + "-nurse_name", Alfresco.forms.validation.mandatory);
this.modules.form.addValidation(this.id + "-nurse_name", Alfresco.forms.validation.length,
after I start the workflow , I cannot see any value in "nurse_name" and "nurse_id" box , nurse_name's value has been display on Description box.so I guess ,must have a function to define to mapping. where and how to define the parameter?