Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

how to establish relationship between two ritms

Nagesh5
Tera Contributor

Hello Community,

 

I have two catalog items one is order mobile and other one is order laptop and my expectation is I want to tag laptop ritm to the mobile ritm parent field once laptop ritm is closed then mobile ritm state should be changed to work in progress for this I just want to utlize the parent field in ritm form is it good practice to utlize the oob parent field any suggestions?

 

Note: we are looking for the solution without using order guides.

 

Thanks,.

Nagesh

3 REPLIES 3

Harsh_Deep
Giga Sage
Giga Sage

Hello @Nagesh5 

As per OOB functionality if the child is open then you should not able to close the parent, and this is the only best practice, you can create a new field Associated RITM where you can give the reference of the another RITM and then write a BR to achieve your functionality.

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.

Thanks for suggestions,May know the the reason new field creation if we have parent field on the ritm?

Hello @Nagesh5 ,

 

Because parent field's behavior is if the child record is open then you can't able to close the parent record.

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.