Hide Process Flow State on Change Form

Dazler
Mega Sage

Hi,

I am wanting to hide certain states on the process flow based on the Change Model.  For example, here in our company we have information changes, that does not require approvals.  I want to hide the Assess, Authorize, Scheduled, and Implementation states on the process flow.

find_real_file.png

I did find an old example of this, 10 years ago example.  It said to add a new field with a type set as a condition to the sys_process_flow table, but there is already a condition field there.

It seems like the ui macro is where I would need to make that condition fit, but I am unsure of where in ui macro script would I incorporate the condition.

Any help would be appreciated.

1 ACCEPTED SOLUTION

Dazler
Mega Sage

I found the answer.  I ended up creating a UI Policy and making sure that the Isolate Script was set to false, then I added the following to the script and it worked.

$j("a:contains('Assess')").hide();
$j("a:contains('Authorize')").hide();
$j("a:contains('Scheduled')").hide();
$j("a:contains('Implement')").hide();

View solution in original post

7 REPLIES 7

Dazler
Mega Sage

I found the answer.  I ended up creating a UI Policy and making sure that the Isolate Script was set to false, then I added the following to the script and it worked.

$j("a:contains('Assess')").hide();
$j("a:contains('Authorize')").hide();
$j("a:contains('Scheduled')").hide();
$j("a:contains('Implement')").hide();

Community Alums
Not applicable

Hi Dazler, 

I am trying for Scoped Application table , this code is not working! Do i need to change anything?

Please help!

 

Regards,

Sandeep

Geeethanjali
Tera Contributor
The below one worked well for me.
$j(
"a:contains('Review')").parent().hide();