Installation workflow

Since there was general interest, I put the current state
of our workflow model in the topic WorkFlow on the wiki.

Chuck Boeheim
boeheim@slac.stanford.edu

I’ve been trying to edit this workflow for employee onboarding, so the Required CFs would be things like ‘VPN Access’, ‘WiFi Access’ etc. As far as I can tell I’ve done everything exactly as described, other than it’s installed on RT4 instead of RT3. When I create the parent ticket none of the child tickets get created. In syslog I get a lot of errors like this:

Aug 14 08:39:38 tracker RT: [2684] Scrip IsApplicable 18 died. - Require of RT::Condition::FieldRequired condition module failed.#012Attempt to reload RT/Condition/FieldRequired.pm aborted.#012Compilation failed in require at /opt/rt4/sbin/…/lib/RT/ScripCondition.pm line 179.#012#012Stack:#012 [/opt/rt4/sbin/…/lib/RT/ScripCondition.pm:179]#012 [/opt/rt4/sbin/…/lib/RT/ScripCondition.pm:179]#012 [/opt/rt4/sbin/…/lib/RT/Scrip.pm:593]#012 [/opt/rt4/sbin/…/lib/RT/Scrips.pm:333]#012 [/opt/rt4/sbin/…/lib/RT/Transaction.pm:194]#012 [/opt/rt4/sbin/…/lib/RT/Record.pm:1682]#012 [/opt/rt4/sbin/…/lib/RT/Ticket.pm:560]#012 [/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:2256]#012 [/opt/rt4/share/html/Ticket/Display.html:152]#012 [/opt/rt4/share/html/Ticket/Create.html:510]#012 [/opt/rt4/share/html/Ticket/autohandler:66]#012 [/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:697]#012 [/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:376]#012 [/opt/rt4/share/html/autohandler:53]#012#012#012Stack:#012 [/opt/rt4/sbin/…/lib/RT/ScripCondition.pm:179]#012 [/opt/rt4/sbin/…/lib/RT/Scrip.pm:593]#012 [/opt/rt4/sbin/…/lib/RT/Scrips.pm:333]#012 [/opt/rt4/sbin/…/lib/RT/Transaction.pm:194]#012 [/opt/rt4/sbin/…/lib/RT/Record.pm:1682]#012 [/opt/rt4/sbin/…/lib/RT/Ticket.pm:560]#012 [/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:2256]#012 [/opt/rt4/share/html/Ticket/Display.html:152]#012 [/opt/rt4/share/html/Ticket/Create.html:510]#012 [/opt/rt4/share/html/Ticket/autohandler:66]#012 [/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:697]#012 [/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:376]#012 [/opt/rt4/share/html/autohandler:53]

I tried installing FieldRequired.pm into /opt/rt4/lib/RT/Condition instead of /opt/rt4/local/lib/RT/Condition, but that didn’t make a difference.

I figured out that RT::Condition::Generic is deprecated and no longer exists in RT4, so I edited FieldRequired.pm to change RT::Condition::Generic to just RT::Condition and tried again. However I still get the same result.

Changing all instances of RT::Condition::Generic to just RT::Condition in the FieldRequired.pm script actually did fix the issue. I needed to restart the web server for the change to take affect.