Hello,
Has anyone out there customized their SDM installation, by adding the zallcrs factory to enable a 'Request/Incident/Problem' Go button, but subsequently found that Workflow Tasks don't appear until you refresh the browser window?
For example I enter request 685553 in the Request/Incident/Problem field and click Go, and no Workflow Tasks appear (refreshing the window fixes this):
However if I enter request 685553 in the Request field and click Go, the Workflow Tasks succesfully appear:
zallcrs factory mod:1. Create file named "z_combinedSearch.mod" inside directory "C:\Program Files (x86)\CA\Service Desk Manager\site\mods\majic"
OBJECT cr {
FACTORY zallcrs {
STANDARD_LISTS {
SORT_BY "open_date DESC, id DESC, status, priority DESC, ref_num";
MLIST OFF;
RLIST OFF;
};
FUNCTION_GROUP "call_mgr";
REL_ATTR persistent_id;
COMMON_NAME ref_num;
};
};
2. Create a new text document named "detail_zallcrs.htmpl", inside directory "C:\Program Files (x86)\CA\Service Desk Manager\site\mods\www\htmpl\web\analyst" with the following content:
<PDM_INCLUDE FILE=detail_cr.htmpl>
3. Create a new text document named "list_zallcrs.htmpl", inside directory "C:\Program Files (x86)\CA\Service Desk Manager\site\mods\www\htmpl\web\analyst" with the following content:
<PDM_INCLUDE FILE=list_cr.htmpl>
4. Create mod of C:\Program Files (x86)\CA\Service Desk Manager\site\mods\www\htmpl\web\analyst\xx_prop_tab.htmpl, replacing the original code:
<PDM_IF "$prop.form_name_3" != "edit">
<PDM_IF "$prop.form_name_2" == "cr" || "$prop.form_name_2" == "in" || "$prop.form_name_2" == "pr">
<PDM_LIST SOURCE=args.properties>
with:
<PDM_IF "$prop.form_name_3" != "edit">
<PDM_IF "$prop.form_name_2" == "cr" || "$prop.form_name_2" == "in" || "$prop.form_name_2" == "pr" || "$prop.form_name_2" == "zallcrs">
<PDM_LIST SOURCE=args.properties>
5. Create file named "usp_web_form.dat" inside c:\temp with the following content:
TABLE usp_web_form
code del description dflt_for_obj name wf_resource wf_type
{ "go_zallcrs" ,"0" ,"GO Requests/Incidents/Problems" ,"zallcrs" ,"Requests/Incidents/Problems",
"$cgi?OP=SEARCH+SID=$SESSION.SID+FID=123+FACTORY=zallcrs+SKIPLIST=1+QBE.IN.ref_num=$searchKey" ,"2" }
6. Load "usp_web_form.dat" file with command:
C:\pdm_load -f c:\temp\usp_web_form.dat -i
7. Update Go Resources for roles.