Service Desk Practitioners Forum
cancel

Auto creation of Work Orders

Highlighted
Mike Bijsters
Regular Collector

Auto creation of Work Orders

Can someone help me with the syntax to auto create a work order when a field value has changed as well as auto setting the template in this work order
3 REPLIES
Mike Bush
Honored Contributor

Re: Auto creation of Work Orders

I think the best way to do this would be to invoke a JAVA module and use the web-api interfaces to create the WO. You just MIGHT make an SD_EVENT do it.
Dennis Melchi
Super Collector

Re: Auto creation of Work Orders

If you want to spawn the work order interactively, use sd_dataform. There are many samples in the forum of how to us it.

If you don't want GUI interaction, the Web API or SD_event that were previously mentioned work. You can also check out autowo which is a java program provided in service pack 12 or somewhere around there. It uses the web API to create work orders from DB rules but you don't have to learn the Web API.
Mike Bijsters
Regular Collector

Re: Auto creation of Work Orders

This was not actually solved, customer decided against this action
//Add this to "OnDomLoad" event