How to auto-populate Location for Requested Items?

Vlad_Rozic
Kilo Contributor

Hey Guys,

I am having a tough time figuring out how to accomplish a fairly simple but important step in our setup.

Currently we have this function working with other forms that implement a workflow, but I can't seem to figure out how to get it working with Requested Items and an associated task.

In particular, when I test and create a request through service catalog, a request is created obviously with the subsequent RITM. I'd like it so that the location field within the RITM is autofilled based on the user who made the request.

We have it working fine with tasks in other applications based through scripting in a workflow, but how can I make it so that in a RITM form, the location is populated before load, just like other fields (Requested for, Item etc)?

Screenshot attached.. does anyone have any quick tips on how to achieve this? To be more precise, I do not wish for it to populate through a Script onload or anything like that.. I'd like the location to be already filled once the RITM is loaded up, and then once you look at the task for that RITM, it too is already filled in..

Hope this makes sense and thanks for any help!

6 REPLIES 6

Thanks for the replies and for the suggestion!

I have tried this but doesn't seem to work.. am I missing something?? Sorry, I'm very noob with business rules and scripting in general..

Screenie shows my rule right now.. Also, would something like this transfer over to RITM and Tasks as well? Or would this rule apply to all of them at once?


Doesn't work. Most likely outdated by 3 years