- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2018 03:29 AM
Variables from the identification section can be referenced by $parent. during connection building. Is the same also possible with variables set in the extension section?
Using $parent doesn't show up any of the variables I defined in the extension section nor do I find another way to reference them. Do I miss something here or is the extension section only good for populating attributes of the CI type?
Solved! Go to Solution.
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-22-2018 10:09 AM
I raised a HI ticket and got an answer:
- Variables from Extension Section are not available in Connection Section because Extension Section is run after Connection Section. The run order by the plattform is as follows: Identification Section, Connection Section, Extension Section
- BP for new connections: New connections should be done in the Connection Section
My take away from this is:
- ServiceNow recommends: Don't use the Extension Section for creating new connections. Use Connection Section instead
- To gather information for the Connection Section
- the Extension Section is useless because you cant reference information gathered in the Extension Section in the Connection Section (Reason: the plattform runs the Extension Section after the Connection Section).
- I've to modify the Identification Section to gather information for the Connection Section (which means the pattern will get flagged)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2019 10:36 PM
gk - I've just ran across the exact same scenario you have. i.e. Working w/IIS Virtual web and I needed info from customer-specific environment that sent me down the path of using the Extension section.... only to find out that hard way that those extension-created variables are not available in the Create Connection section.
This situation forces the decision -- either use Extension section to both A) get variables and B) build connection there too - preventing the "update" flag but seemingly not a best practice.... OR use the Create Connection section for A & B, but forces the 'update' while adhering to best practices. Arghhh.......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2020 12:56 AM
The MID Server runs extension sections after identification sections and only if at least one identification section completes successfully.