My goal here is to capture the change of a dropdown list generated by PDM_SELECT directive. In this case it is from the analyst detail_wf.htmpl form.
This is from the form:<PDM_SELECT NAME=SET.status ESC_STYLE=HTML FACTORY=tskstat WF_FAC_FOR_TSKSTAT=wf SELECTED="$args.status" SELECTED_SYM="$args.status.COMMON_NAME" TITLE="' + _dtl.lastHdrtext + '">
<PDM_SELECT NAME=SET.status ESC_STYLE=HTML FACTORY=tskstat WF_FAC_FOR_TSKSTAT=wf SELECTED="$args.status" SELECTED_SYM="$args.status.COMMON_NAME" TITLE="' + _dtl.lastHdrtext + '">
I see the way the PDM_SELECT is used contains some special functionality. It will not return all available tskstat objects but a subset of them. So far the logic eludes me and no (public) documentation exists for it but I have opened a request to CA Support asking for the documentation of that webengine directive.
I've seen multiple similar questions and a couple of identical ones but no satisfying solution for them has been found. In all the cases I found the user ended up either using the stock dtlDropdown macro or creating their own dropdown with PDM_LIST directive. While both of these are viable last resorts for me I'd prefer finding out how the PDM_SELECT is supposed to work and what the different parameters given to it on analyst detail_wf.htmpl do.
If you have more knowledge please share it below.
For the pdm_select on detail_wf.htmpl, the logic used to populate the dropdownlist depends on the on the settings/configuration of the workflow tasks associate with a change category.
I'm sure it does, but what exactly is the logic? If I traverse the relationships from the change and its attached workflow tasks I get a longer list of options than what I'll get if I use the PDM_SELECT. So some filtering takes place and my question is what is that filtering?