Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Redirection after crating an order guide

moncef
Tera Contributor

Hello,

After submiting an order guide, we are redirected to page of request (REQXXXXXX), i want to be redirected to the page of service(SRVXXXXXX), there is a way to do this ? 

Thanks u .

3 REPLIES 3

Munender Singh
Mega Sage

Hi,

If you doing it on service portal then use this approach,this widget is to redirect to a page 

 

https://community.servicenow.com/community?id=community_question&sys_id=5eec0f29db9cdbc01dcaf3231f9619ea

 

ctsmith
Mega Sage

Clone the SC Order Guide widget.

Around line 694 on the client script:

else {
if ($scope.data.result.request_id)
$location.search('id=sc_request&is_new_order=true&table=sc_request&sys_id=' + $scope.data.result.request_id);
else
$location.search('id=ticket&is_new_order=true&table=' + $scope.data.result.table + '&sys_id=' + $scope.data.result.sys_id);
//$location.search('id=requests');
}

Hi,

if i want to do for order item on checkout button then how i achieve it 

could you help me to short out this?