The CreatorCon Call for Content is officially open! Get started here.

is it possible redirect to url through script include??

Madankumar N1
Tera Contributor

Hi Team
I have one requirement
I have one UI Page for notify user it has to run continue here or it has to process background.

how i can perform actions in background process after process completion it has to redirect to one url which some records.

Could any body can help on this.

 

 

 

Thanks

Madankumar

14 REPLIES 14

Hi Ankur

Is it possible when i click on button1 it has to run processing , if i click button it has run only client script it no need to run processing ?

If it is possible Please provide some sample script

Hi Madan,

I think you can control whether processing script has to be run or not based on this

1) create hidden html element

2) you are creating one button which when click should allow to run processing script at the end; set the hidden html element value

3) check in processing script whether value for that hidden html element is set or not

4) if set it means processing script has to run

5) if not then don't run processing script

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Hi Madan,

Any update on this?
Can you mark my answer as correct, helpful if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.

Regards
Ankur

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

Jyoti8
Kilo Guru

Hi Madankumar N,

 

As you mentioned that you want to redirect URL which has some records, try this story by using UI Action with the following syntax :


action
.setRedirectURL ( 'http://wwww.servicenow.com' ) ;

Hi Jyothi Thanks for quick reply.

Am trying from UI page this one not in UI action