Solution MapLinks

The Solution Model has a property, MapLinks, which is a collection of MapLink Models, each containing information, such as the name of the Map and whether it is enabled. The order of the links in this property defines the order in which the Maps are executed.

When you update a Solution, you can manipulate the MapLinks collection to enable and disable Maps, and to change the order in which Maps run. You cannot add or delete Maps by adding or removing MapLinks from the collection. If the count of models in the MapLink property does not match the current count of Maps in the Solution, an error is returned. After you update the Solution, call the POST prepare Solution method to invoke the updates.

MapLink Model

  • enabled — Specifies if the Map is enabled. When a Map is enabled, it is compiled and subsequently executed on the Agent.
  • valid — Indicates if the Map has been validated in TIBCO Scribe®.
  • id — Specifies the unique Map ID. This ID does not change as long as the Map exists.
  • name — Specifies the Map name. This must be unique within a Solution.

Sample Model

{

“mapLinks” : [

{ "enabled": true, "valid": true, "id": "cc88ae38-ba4b-439b-99f7-3c7c5787288d", "name": "Map 1" },

{ "enabled": false, "valid": true, "id": "FFaaae38-ba1b-419b-c9f7-3c7c5787212d", "name": "Map 2" }

]

}

See

Special Properties