# Start the run with out Work Order

**URL:** <https://forum.inductiveautomation.com/t/start-the-run-with-out-work-order/9582>\
**Category:** 3rd Party Modules\
**Created:** [January 21, 2015, 3:38pm UTC](https://forum.inductiveautomation.com/t/start-the-run-with-out-work-order/9582 "2015-01-21T15:38:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mreddy](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@mreddy](https://forum.inductiveautomation.com/u/mreddy)\
**Post date:** [January 21, 2015, 3:38pm UTC](https://forum.inductiveautomation.com/t/start-the-run-with-out-work-order/9582/1 "2015-01-21T15:38:35Z")

</div>

vValue = system.production.utils.startRun(‘OEEDemo\Your Enterprise\Site 1\Packaging\Line 2’)  
system.gui.errorBox(str(vValue))

I tried starting the production run through above script. It was returning false and run is not started. Can anyone help me out.

---

<div class="post-metadata">

**Author:** ![WildeKurt](https://avatars.discourse-cdn.com/v4/letter/w/50afbb/32.png) [@WildeKurt](https://forum.inductiveautomation.com/u/WildeKurt)\
**Post date:** [February 27, 2015, 12:04am UTC](https://forum.inductiveautomation.com/t/start-the-run-with-out-work-order/9582/2 "2015-02-27T00:04:59Z")

</div>

I believe there needs to be a product code loaded already. Try:

system.production.utils.startLineProductCode(linePath,productCode)

or system.production.utils.setLineProductCode(linePath,productCode) before using startRun.

KUrt
