AnsweredAssumed Answered

Workflow task status

Question asked by Ogonzalez22 on Mar 26, 2018
Latest reply on Apr 2, 2018 by Ogonzalez22

Hi folks.

 

I've seen this code:in several post 

 

  1. detailRowHdr("Status", 1 , "$args.REQUIRED_status");  
  2. 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 + '">';  
  3. var ins_pos = item.indexOf("NAME=");  
  4. if (ins_pos > 0)   
  5. {  
  6.     _dtl.tabIndex++;  
  7.     item = item.substring(0, ins_pos) + " TABINDEX=" + _dtl.tabIndex + " " + item.substring(ins_pos, item.length);  
  8. }  
  9. 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.

Outcomes