erictgrubaugh
02/25/2019, 11:26 PMServerResponse.sendRedirect()
method, I just found that this doesn't work:
var searchId = /* your id */;
context.response.sendRedirect({
type: https.RedirectType.TASK_LINK,
identifier: "LIST_SEARCHRESULTS",
id: searchId
});
but this does work:
var searchId = run.getCurrentScript().getParameter({name: "custscript_atr_short"});
context.response.sendRedirect({
type: https.RedirectType.TASK_LINK,
identifier: "LIST_SEARCHRESULTS",
parameters: {
searchid: searchId
}
});