Try OpenEdge Now
skip to main content
Application Developer's Guide
Developing an application : Suspending/Resuming installed applications : Resuming the suspended workstep
 

Resuming the suspended workstep

If the execution of the JavaScript code fails, then the workstep is suspended. The failure could be due to an invalid dataslot name or other JavaScript coding error. Either way, you cannot restart the workstep until these errors are fixed and the JavaScript code is updated and compiled. Use the BP Server Admin command ResumeWS.
JavaScript execution can fail after executing the jst.putDataSlot() method partially. In this case, the execution has not completed but still has been successful in partially changing the state of the process instance. If you are not confident of the consistency of the dataslot values, then it is better to remove the suspended process-instance and create a new one.