I've seen this code:in several post
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.
if you are using a Change Category to generate your workflow, one common reason for not seeing a task status in the dropdown is that the status has not been added to the 'behaviours' for the task in the change category workflow template. If you post screen shots of your valid task status codes and the definition of the workflow in the change category we can drill down into this further.
Thanks for reply.
Nope, seems that's no my case, because the status were added to the behaviours when we created the workflow task.
If i remove the code from detail_wf.htmpl i posted above, the cancelled status and pending status appears in the Status dropdown. Of those, i only need "pending" option.
Retrieving data ...