G
Ganesh Cherivirala
Guest
Even there is no straight forward way to get the workflow status values. Generally workflow have very less items. So we can make use the switch case (not a good solution). Here is the sample code. // status is a workflow item having submitted, Registered, Approved, Declined var statusEle = $('[name=status]'); { var status = selectedRow.status+''; //console.log(status); switch(status){ case "39338254": statusEle.val('submitted'); break; case "39338253": statusEle.val('Registered'); break; case "39338255": statusEle.val('Approved'); break; case "39338256": statusEle.val('Declined'); break; default: statusEle.val('submitted'); } Hope it helps!! Regards, Ganesh
Continue reading...
Continue reading...