Hi All,
I have create a sup hybrid application.
When i am trying to get the data from back-end on the basis of primary key using generated hybrid app api, it is returning me null.
below is the code that i used:
function deleteDepartment() {
var dep = new Department();
dep.dept_id="2";
department_findByPrimaryKey( dep, "" , function(error)
{alert(error)});
}
hwc.processDataMessage = function
processDataMessage(incomingWorkflowMessage, noUI, loading,
fromActivationFlow, dataType) {
alert(incomingWorkflowMessage);
}
alert(incomingWorkflowMessage) is not showing anything.
Please help..
Also provide sample code.
Thanks