How is RITM created automatically when Request is approved? Can anyone help me that OOB script?

MS1
Kilo Expert

How is RITM created automatically when Request is approved? Can anyone help me that OOB script?

When ever a request is approved or Stage & State= Approved an RITM is automatically and a Workflow is attached. Can anyone help me with the OOB script or logic how is the RITM automatically created?

3 REPLIES 3

Michael Jones -
Giga Sage

The RITM should be created automatically when the Request is submitted however, if the Request has an approval that is pending then it will remain in Waiting For Approval until the REQ is approved. Once the REQ is approved, the business rule "Cascade Request Approval to Request Item" will set the state of RITMS to Request Approved, which then triggers the BR "Start Workflow" to begin the workflow. 

Does that help?

If this was helpful or correct, please be kind and remember to click appropriately! Michael Jones - Proud member of the CloudPires team!

I hope this helps!
Michael D. Jones
Proud member of the GlideFast Consulting Team!

Brian Lancaster
Tera Sage

Doing some testing the RITM is created at the same time as the request.  The RITM workflow does not get attached until the Request is at a state of approved.  It appears that the update to start the workflow is done with a business rule called Cascade Request Approval to Request Item.

https://<your instance name>/nav_to.do?uri=sys_script.do?sys_id=2d0885b4c61122840070856bf5994bca

Suggy
Giga Sage

The RITM will automatically get created when the Request is submitted in the portal.

If the Request has an approval, then the REQ state will be set to 'Pending Approval' adn the stage of the RITM will set to 'Waiting for Approval'

Also in this phase, the workflow will not be attached to the RITM.

Once the REQ is approved, its state will be set to 'Approved' and the stage of RITM will be 'Fulfilment' and then the workflow gets attached to the RITM.