Expand my Community achievements bar.

SOLVED

Read a Program ID from a typeahead field

Avatar

Level 2

Hi everyone, this might be a really simple issue, but because it's so straightforward, finding previous posts using generic keywords has been a tad tricky.

 

Anyhow, here's the situation:

 

I have a request where users select an existing program from a typeahead field.

Once the request is converted into a project using Fusion, I want the resolving project to automatically sit under the program selected in the typeahead field.

 

Now the challenge is that in Fusion, the program is identified by an ID in the "Update record" (screenshot below), and I'm struggling to retrieve the corresponding program ID based on the program name entered in the typeahead field. I need to map that ID in Fusion.

 

Any suggestions or ideas on how to achieve this?

 

ab_cdef_0-1737623367928.png

 

1 Accepted Solution

Avatar

Correct answer by
Level 4
3 Replies

Avatar

Level 4

To retrieve the ID from a typeahead field, you need first to parse the Typeahead output using the Parse JSON Module, then use the ID from that module as the input for the subsequent module. Note, you will need to run the scenario with the Parse JSON module as the last module in order for module 3 to be able to pick the ID out of the results.

Avatar

Correct answer by
Level 4

BrownPaperBag_0-1737643867524.png

 

Avatar

Level 2

This is fantastic! Thanks @BrownPaperBag 

Interesting how the Parse JSON module needs to be the final module before another module needs to retrieve the Program ID. But it works perfectly. Thanks again!