Hide and show process flow based on the category.

SRI10
Tera Contributor

Hi,

In Business management, Draft -> Submitted -> Screening -> Qualified -> Approved -> Completed.is available out of the box. I have added new custom field "Demand Category". I want to hide the state- Screening in process flow if the Demand Category is "Client". 

How can I do this?

1 ACCEPTED SOLUTION

Hi,

it is a jquery code which would search for that text which would be present inside anchor tag

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

14 REPLIES 14

Hii Ankur,

If you check the below configuration for Awaiting info and other states, there is no difference in the Process flow configuration, then too it appears in a different way when the Case is in Awaiting info State.

find_real_file.png

Thanks.

 

Hello @Ankur Bawiskar 

Did you get a chance to see this? Can you help me in this issue?.

Thanks.

Sorry Hardik,

Not much

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Seems that it is working on the next Ui experience, But I can see the gaps in between to steps.
Any suggestion?

In my case, this method worked to remove the anchor, but left the little chevron on the screen--the parent li tag--making for ugly formatting. 

 

Furthering your example, but getting the parent element and hiding that.
      $j("a:contains('Screening')").parent("li").hide();