IBM Support

Include a Sub-Model in a Model

Question & Answer


Question

Include a Sub-Model in a Model

Answer

Include a Sub-Model in a Model

About this task

You can include one model in another modelso that a sub-component of the parent model can be modeled and configuredseparately.

Suppose that youhave a model A and you want to use Model B as an option item in ModelA so that end-users can configure the Model B component as part ofa session to configure model A.

To include a sub-modelin a model:

Procedure

  1. Create Model B as a model in its own rightand compile it. Make a note of the location of this model in the modelgroup and model hierarchy. For example: Matrix/Computers/Workstations/ConfigurableMonitors/Matrix Monitor.
  2. Navigate to Model A and to the location inthe Model hierarchy at which you want to include Model B as an optionitem.
  3. Create the option item and enter a namedescription and effectivity dates for it. Click Save.
  4. Click the Properties tab.
  5. Select CONFIG: SUBMODEL NAME in theUnattached Properties dropdown list.
  6. In the Value field enter the fully qualifiedname to Model B. For example Matrix/Computers/Workstations/Configurable_0020Monitors/Matrix_0020Monitor.Note the use of escape characters to encode special characters suchas spaces. See Special Characters Encoding formore information.
  7. Click Attach.
  8. Click Save All Changes.
  9. A separate property called CONFIG:SUBMODEL RETURN controls whether end-users return to the main modelafter configuring the child model.
    1. If you want to have end-users return tothe main model when they have finished configuring Model B then setthe value of CONFIG: SUBMODEL RETURN to "true".
    2. If you want to have end-users return todirectly to the calling application when they have finished configuringModel B then set the value of CONFIG: SUBMODEL RETURN to "false".
  10. Click Attach.
  11. Click Save All Changes.
  12. Click Compile to re-compileModel A.
  13. To test the model click Test.

"
[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SS73G6","label":"Sterling Total Payments for Financial Services"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

More support for:
Sterling Total Payments for Financial Services

Software version:
All Versions

Document number:
761173

Modified date:
08 December 2018

UID

ibm10761173

Manage My Notification Subscriptions