Gutis,
can you help in creating the same for R/I/P too. I mean can we apply this solution on R/I/P too.
I have created qrel table but when I am keeping code on detail_cr.htmpl file its throwing error. could you please help
Below is the code I am using:
1. create custom_wf.mod file in site/mods/majic with the following content:
OBJECT cr {
ATTRIBUTES Call_Req {
zactive_workflow QREL cr_wf DYNAMIC {
WHERE "cr = ? AND completion_date IS NULL" ;
PARAM_NAMES { id } ;
DOMSET cr_wf_list ;
} ;
};
};
2. In detail_cr.htmpl i am keeping below code after
<PDM_MACRO name=dtlStart scroll=true>
Added the following lines
if ($args.zactive_workflow.length > 0 && "$prop.form_name_3" != "edit") {
docWriteln('<table id="alertmsg" class="alertmsg" style="display: block;"><tbody><tr><td id="alertmsgText">This Request has $args.zactive_workflow.length uncompleted workflow task(s)</td></tr></tbody></table>');
}
3. Recycled SDM services
after recycling the services when I open detail_cr.htmpl page its stopong the services i.e, I am getting no response on this page.
Could you please help to apply this solution on R/I/P too as Chg its working perfectly fine.