Iam getting 404 error when trying to open a instantiation form in a page

1
0
-1

Steps followed

1.I have created variable external API to get process name as

configureApproverProcess

/bonita/API/bpm/process?c=1&p=0&f=name=Configure Approver process

2.I have created another variable javascript expression to get URL as

getTaskUrl

if($data.configureApproverProcess && $data.configureApproverProcess.length)
{
var process=$data.configureApproverProcess[0];
return "/bonita/portal/resource/taskInstance/"+encodeURI(process.name) +"/"+encodeURI(process.version)+"&senderUrI="+window.top.location.href;

}

3.I took a link button with Type=CustomURL and URL =getTaskUrl

When i click on link button iam getting 404 error .Please suggest is the getTaskURL in correct format

Comments

Submitted by nagapavanich.hy... on Wed, 08/12/2020 - 14:43

I have made some changes in url and was able to redirect .Iam posting it so that it will be helpful for some one who is newbie

please check below

return "/bonita/portal/resource/process/"+encodeURI(process.name) +"/"+encodeURI(process.version)+"/"+"/content/?id="+process.id;

Submitted by nagapavanich.hy... on Wed, 08/12/2020 - 14:43

I have made some changes in url and was able to redirect .Iam posting it so that it will be helpful for some one who is newbie

please check below

return "/bonita/portal/resource/process/"+encodeURI(process.name) +"/"+encodeURI(process.version)+"/"+"/content/?id="+process.id;

No answers yet.
Notifications