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