Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Offerings depending on offerings

marcguegueniat
Kilo Sage

Hello,

I need to model offering depending on offerings.

Example: I have an offering "Server and a DB Offering" as one package.

This offering would depend on a "server Offering" and on a "DB offering".

In CSDM 5 there is no direct Offering depends on Offering relation.

However, in the Service Builder UI, I noticed they added exactly that option:

marcguegueniat_0-1789486880100.png

Link to docs for this form 

I've tested it and it really creates a "Depends on::Used by" relation between the offerings

 

Would you recommend following the Service Builder way ?

Or stick strictly to CSDM ? then what would be your best way to model this offering dependance ?

Regards,

1 REPLY 1

boteeuwen
Kilo Sage

I would follow the Service Builder approach here. If Service Builder allows you to relate one Service Offering to another using Depends on and Used by, that is a strong indication that ServiceNow supports this model even if the CSDM documentation does not show the relationship explicitly.

For your example, I would model the Server and DB package as its own Service Offering and create Depends on relationships from that package offering to the Server Offering and the DB Offering.

The important part is to keep the underlying service model clean as well. The Server Offering and DB Offering should still be connected to the correct services and service instances, so the offering relationship does not replace the technical relationships underneath.

I would also make sure the package offering represents a real consumable offering with its own commitments, subscriptions, or support expectations. If it is only being used as a grouping mechanism, then I would first check whether a separate offering is really needed.

So in this case, I would not avoid the relationship just because it is not shown clearly in the CSDM model. Since Service Builder creates it natively, I would consider it a valid approach as long as it reflects a real dependency in your service model.

If this helped, can you mark it as a solution or helpful?