Does RP.getReferringURL().indexOf() support/works in UI action condition for Workspace?

Virendra K
Kilo Sage

Hi All,

 

I am using "RP.getReferringURL().indexOf('/now/boc_uib/') > -1) " in the UI action condition along with other conditions. I noticed that condition is not working because of "RP.getReferringURL().indexOf('/now/boc_uib/') > -1)".

Removing this condition is working as expected.

My ask is, does workspace support  RP.getReferringURL().indexOf('/now/boc_uib/') > -1) type of condition?

 

Regards,

Virendra

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Virendra K 

this line (RP.getReferringURL()) won't work in workspace and hence it's causing the condition to break and hence UI action condition is not working as expected

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Virendra K 

this line (RP.getReferringURL()) won't work in workspace and hence it's causing the condition to break and hence UI action condition is not working as expected

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Virendra K 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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