Action Link redirect to url specific to field value

On the action link outcome I wanted to redirect the user back to the order that they were working with so they could continue a process on a different line item without having to reselect the order. Here is how I did it.

On the action link outcome I chose to go to a new child page.

On that child page I just included a details screen with the field I wanted to use in the url.

This is the code for the child page:

$(document).on('knack-scene-render.scene_248', function(event, scene) {
var orderDetails = Knack.models['view_644'].toJSON();
var curOrder = orderDetails.field_125;
window.location.href = "https://test.knack.com/sandbox#warehouse-floor/outbound/itemized-inventory2/?view_117_page=1&view_117_filters=%5B%7B%22value%22%3A%22" + curOrder + "%22%2C%22field%22%3A%22field_125%22%2C%22operator%22%3A%22is%22%7D%5D";
});

obviously + curOrder + is the var captured in the url.