- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2024 03:46 AM
Hello All, Good day!
I have been working on a record-producer for one of my requirements that says Once the user clicks on submit button on service portal.
A popup should be displayed with message "This page has been moved to new external platform" and
after 3 seconds user should be redirected to the new intake form. Here, timing functionality is important
Is there a way I achieve this functionality by keeping time limit of 3 seconds as well?
All suggestions are welcome,
Thank you
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2024 04:14 AM - edited ‎03-08-2024 04:17 AM
Hi @Utkarsha in your record producer write a onSubmit client script with below code
Harish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2024 03:55 AM
Hi @Utkarsha you can use gs.sleep(3000); // for 3 seconds to pause the execution
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2024 03:57 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2024 04:14 AM - edited ‎03-08-2024 04:17 AM
Hi @Utkarsha in your record producer write a onSubmit client script with below code
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2024 04:32 AM
You can directly make use of your Record Producer script which is there in your Record Producer and use the script:
Within the Platform UI:
producer.redirect="home.do";
Within Service Portal:
producer.portal_redirect = "sp?id=sc_home"; // give here the portal page name
As you want to have a delay, so above this code, you can add the delay.
If my response helps you in any way, please mark my response as helpful or "Accept as Solution"
Thank you