execution plan script not running

haldroid
Tera Contributor

Is anyone using the Script field in the Execution Plan form? To see this option, you may have to enable the script field by personalizing the form layout (see Scriptable Assignment of Execution Plans on the wiki). If I put in a gs.log statement and run a catalog request that has a working execution plan, the log output never shows up.

7 REPLIES 7

I added the script on the item in the delivery plan script in demo20 on the business cards item.
Short ~ 1 1/2 minute video showing it work for me.
http://youtu.be/auS9k45ZxQA


haldroid
Tera Contributor

Thanks, that does work.

What does NOT work is to open the execution plan record and put a gs.log call in the Script field in that form. The wiki page is correct, btw; it says to put the exec plan script on the item form. Somehow I managed to find the Script field in the exec plan form and waste a bunch of my time and yours trying to get it to do something. I'm sorry.

So it looks as if

  1. Catalog Item [sc_cat_item] has a field called Delivery plan script [delivery_plan_script] that is used.
  2. Execution Plan [sc_cat_item_delivery_plan] has a field called Script [script] that is ignored.


Hey, don't sweat it. Glad I could help.