Can we have two different process flows on change_request table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2014 12:59 AM
Hi,
I need process flows based on the Type of the change and State value .
For Standard change , Need to show only 5 states on Process flow.
For Normal change, Need to show 8 state values on Process flow.
I tried by selecting the type and state in condition builder,
But on the change form, its showing the labels twice.
Please look into the images attached,
Can we have solution for this?
Thanks in Advance
Sreeja
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2014 06:59 AM
Yes you can,
on my instance we use amost 3 sets of different Process flow for the same table.
But there is no direct way to do it, we use DOM manipulation to hide extra blocks, and to change the text.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2015 11:05 PM
Anurag Can you please explain us how it can be done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2015 02:06 AM
suppose you have 2 sets of process flow on the same table. now what you need to do is create the one with max steps on your table with proper names.
now for the form with lesser number of boxes ...you have to write a client script and using DOM hide the boxes you dont need, and rename the others.
I think there is a post on servicenow guru on similar notes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2015 03:35 AM
Yes Thanks Anurag.But the problem is I am not able to hide the blocks with DOM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2015 05:05 AM
something liuke this should work
var flowstep = document.getElementsByTagName("td");
var k;
var child;
var img;
for(k = 0; k < leng; k++)
{
child = flowstep.item(k);
if(child !=null && (child.getAttribute("title")=="ELEMENTS YOU WANT TO REMOVE") //ADD OR CONDITION TO REMOVE MULTIPLE ELEMENTS
{
child.parentNode.removeChild(child);
}
}