Is there an alternative to CPQJS.onActionComplete() and in Redwood?
Summary:
In the JET UI, CPQJS.onActionComplete() can be used to execute logic after an action is completed. Is there an equivalent event, method, or alternative approach available in Redwood to achieve the same functionality?
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
26C Patch 7
Code Snippet (add any code snippets that support your topic, if applicable):
$(document).ready(function(){
function afterApproval(){
CPQJS.performAction("updateWorkbenck_c");
}
if( CPQJS.actionExists("approve_submit_t") ){
CPQJS.onActionComplete("approve_submit_t", afterApproval);
}
});
Tagged:
0