You need to sign in to do that
Don't have an account?

approval process url /p/process/ProcessInstanceWorkitemWizardStageManager not working in salesforce1
public static String ApproveRejectnavigation() {
String url='';
string myParam = apexpages.currentpage().getparameters().get('myParam');
system.debug('1111111111'+myParam );
// string returl = '&retURL=%2Fapex/TWC_ThisWeekTCMeeting';
url='https://'+ System.URL.getSalesforceBaseUrl().getHost() +
'/p/process/ProcessInstanceWorkitemWizardStageManager?id=' + myParam+'&retURL=%2Fapex'+'/'+'TWC_ThisWeekTCMeeting';
return url;
}
please help me
String url='';
string myParam = apexpages.currentpage().getparameters().get('myParam');
system.debug('1111111111'+myParam );
// string returl = '&retURL=%2Fapex/TWC_ThisWeekTCMeeting';
url='https://'+ System.URL.getSalesforceBaseUrl().getHost() +
'/p/process/ProcessInstanceWorkitemWizardStageManager?id=' + myParam+'&retURL=%2Fapex'+'/'+'TWC_ThisWeekTCMeeting';
return url;
}
please help me