Hi folks.
I've seen this code:in several post
- detailRowHdr("Status", 1 , "$args.REQUIRED_status");
- var item = '<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 + '">';
- var ins_pos = item.indexOf("NAME=");
- if (ins_pos > 0)
- {
- _dtl.tabIndex++;
- item = item.substring(0, ins_pos) + " TABINDEX=" + _dtl.tabIndex + " " + item.substring(ins_pos, item.length);
- }
- detailSetRowData(item);
This piece of code seems to be hidding or excluding status from dropdown in workflow tasks.
Can someone explain how does it work?
Because i found it within detail_wf and i noticed that this is the reason why i'm not seeing 2 status in specific when i try to update status a task.
I would like to know what flag it uses to exclude options so i be able to apply it too.
Thanks in advance.
Best regards.