Request vs Requested Item Stages/Workflows

chrismcd
Kilo Explorer

I have setup a workfor for creating new employees. The "new employee" request is an Item and tasks are created based on the type of employee that is requested. This all works fine using a workflow. I have since added an approval process, which also works fine; however, the approval is on the RITM and not the REQ. This makes sense. My issue is that the Request will say "Approved" where as the RITM will say "Waiting for Approval." I would like to change the request to simply say "Requested" (and not approved since it really has not been yet) and I can not find where to make that change. I have tried updating stages, workflows, etc. but the only things I can find are on the RITM not the REQ. 

1 REPLY 1

Mike Patel
Tera Sage

you need to add approval state on Request workflow (most likely Service Catalog Request) or you can add run script on RITM maybe right at the beginning.

//Set Parent Request Short Description//
var reqParent = current.request.getRefRecord();
reqParent.request_state = 'requested';
reqParent.autoSysFields(false);
reqParent.update();