The web blog http://www.learnsccd.com strives to be a comprehensive guide to SCCD, TADDM, SERVICE NOW and MAXIMO tools. This is a personal site maintained solely by me. I intend to update it regularly.For live updates please follow us on.

Set default value for Work Type(CM) field in Work Order, when Work Order creates from SR.

Set default value for Work Type(CM) field in Work Order, when Work Order creates from SR

We can set default value for Work Type in Work Order application, when it creates from Service Request. We can achieve this with simple automation script.

Please find the below steps to create automation script.

1.Create Attribute Launch Point on Work Order as mentioned below.



2.Please add below lines of code.

Code:
if (origclass=="SR"):
 woty = 'CM'

RESULTS:

1. Open any SR and Create Work order from SR application.

2.After Work order creation and open Work Order application, open the record. We can notice Work Type is 'CM'