
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2019 02:24 PM
Hi,
Is it possible to map JSON Parameter values on Alert's Additional Info to Incident Drop Down field. We have a requirement, environment of the server impacted comes as part of event's additional information, we want to map it to Incident's Environment (Custom) field using Subflow if possible.
Any Ideas/Suggestions ?
Regards,
Ayush Saxena
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2019 05:05 AM
So the best way that I have done this is to create a custom alert action and reverence that action from within a subflow to provide that data. I had to do this for a few things (in fact if you look there is an out of the box one for getting alert details in the out of the box create incident subflow which you could clone and add it to that as it just returns multiple variables that can be referenced).
In order to do this though you have to be using the new subflow for incident creation and not referencing the script include way of doing it. I would just add code to an action or that out of the box one (after cloning it) to run regex on the additional_info (or you could get do the JSON.parse() and then access the data that way). Hope this helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2019 02:39 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2019 03:02 PM
Hello Christian,
I understand we can map an Alert Field to Incident filed but the problem statement is "how to map content in Additional info to an incident field ? "
I tried creating a new field on alert form and map it using subflows, it worked but I am not able to find reference to JSON Parameter or Value in Subflow inputs.
Can you provide more details on this?If you are recommending use of Event Field Mappings, that won't work for us until we create a custom field.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2019 03:17 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2019 03:23 PM
My Bad, I should have mentioned that I am not willing to create new fields. In Alert Action Rules, we were able to map additional_info JSON values to Task fields using $ . I am hoping to have something similar.