Job Runtime Error

In HotWax Commerce, jobs are pivotal for executing various operations like data importing or exporting. Each job comprises two essential components: service and runtime. The service component determines which service will execute the job operation, while the runtime component configures job details such as scheduling and frequency. Services are stored in the service engine, while runtime data resides in a separate entity known as runtimedata. The combinations of runtime and service are stored in the jobsandbox entity, which creates a draft job for every scheduled job, serving as a benchmark copy for new job runs.

One of the issues encountered in HotWax Commerce Job Management is the occurrence of runtime configuration errors, disrupting the scheduling and execution of jobs. These errors stem from the corruption of runtime data, resulting in incorrect job configurations and subsequent failures during execution.

Troubleshooting Steps:

  1. Access Webtools: Navigate to the webtools section of your specific HotWax Commerce instance.

  2. Open Entityengine: Within webtools, locate and click on entityengine.

  3. Find Jobsandbox Entity: In the entityengine menu, locate the jobsandbox entity.

  4. Search for Job: Use the search functionality within the jobsandbox entity to find the job with the relevant jobid. Set its status as service_draft.

  5. View Job Details: Once you've located the job, you'll see a table displaying various details, including the runtime ID of the job.

  6. Navigate to Runtimedata: Return to the entityengine menu and search for the runtimedata entity.

  7. Check XML Content: Within the runtimedata entity, locate the entry corresponding to the runtime id of the job. Check the XML content associated with it.

  8. Modify XML Data: Using appropriate tools, extract the XML data and remove any extraneous content or rich formatting. You can utilize generative AI tools like ChatGPT for this purpose.

  9. Update Runtime XML: Paste the refined XML data back into the runtimeid field of the job entry within the jobsandbox entity.

  10. Save Changes: Confirm the changes and save the updated runtime data.

  11. Schedule the Job: With the runtime data corrected, you can now successfully schedule the job without encountering any runtime configuration errors.

By following these steps, users can efficiently rectify runtime configuration errors within the HotWax Commerce platform, ensuring uninterrupted job scheduling and smooth workflow operation.

Last updated