The CreatorCon Call for Content is officially open! Get started here.

How to get Work order task form fields to cross into and autopopulate Work order form fields

cpinedatx94
Tera Expert

Is this possible? I would like to change the value, Input a value or select a value into a field in a work order task. And then have that auto populate something in the Work Order that the task is for.

3 REPLIES 3

Brad Bowman
Kilo Patron
Kilo Patron

You can create an after Update Business Rule on the wm_task table with a script that does a GlideRecord on the wm_order table to look up the work_order referenced record, then update the field value(s).

Would it also have to have a script include?

A Business Rule does not require a Script Include, since both run on the server, but a Business Rule can call a Script Include - if you already have a function that is doing the same thing, there's no need to replicate the code.