Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

UI and or DB Rule format to execute VB Script.

Highlighted
Rory Emmans
Member

UI and or DB Rule format to execute VB Script.

I have attached a couple of examples of UI and a DB Rule to execute a VB Scripts. This script is to calculate the deadline of the ticket after Priority field is populated. The rule fires but receive error 193 in the server log. Can execute the exact text from a command prompt and it works. I have a couple of questions?
1) Do DB and UI rules handle parameters the same? Same format for both?
2) Can somebody take a look at my paramters and how I am passing them and point me in the right direction.
Thanks
//Add this to "OnDomLoad" event