We currently have Service Desk 12.7 installed and I'm currently facing an issue where we need to have different specific status paths for different type of changes (Normal, Standard, Emergency).
i.e. : Normal can goes from
RFC to Prioritized
to Approved for DEV
Standard changes can goes like :
RFC to DEV In Progress
to Testing in Progress
Emergency changes can goes like :
How can I achieve something like that?
Note that :
The same user can use all different change types. (So data partition option is out)
I want to filter the dropdown menu before displaying it without having to hardcode all the status paths within the code (so meaning reusing the status path transition functionality).
I've explored creating a custom operator like VALID_TRANSITIONS one but since I'm unable to the original SPEL code to it, I'm unable to fully reproduce the behavior.
any help would be appreciated
I think, a custom status transition table is resolve your need.
table content is
in order_status_change.htmpl you may below codes
<PDM_LIST PREFIX=list LENGTH=1 FACTORY=zchgstatustrans WHERE="zchgtype=$args.chgtype and zchgstat='$args.status'">
<PDM_MACRO name=dtlDropdown hdr="New Status" attr="status" evt="onBlur=\\\"detailSyncEditForms(this);\\\"onChange=\\\"validate_documentcheck(this)\\\"" lookup=no whereclause="(code in ('$list.ztransitionstat'">
I hope it's your need