Expand my Community achievements bar.

SOLVED

How to pull out the ID from a typeahead field

Avatar

Level 2
I want to pull out the ID info from a custom typeahead field (it points out to my Accounts in a Custom form) to use it in a next Workfront module, but result is in below format and it looks like it is not an array.
 
{"objCode":"PORT","name":"Multi-CU","ID":"64344cd30027a73afde2866203e27632"}
 
Does somebody know which Fusion function, tool or module I can use to extract this ID since this is entered by Requestor and changes on every project?
1 Accepted Solution

Avatar

Correct answer by
Level 10

Hello esalraz,

 

you can use a Parse JSON module with the following data structure to extract each key including the ID:

 

lgaertner_0-1712735211248.png

 

Afterwards you can process with the ID in your scenario.

 

Regards

Lars

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

Hello esalraz,

 

you can use a Parse JSON module with the following data structure to extract each key including the ID:

 

lgaertner_0-1712735211248.png

 

Afterwards you can process with the ID in your scenario.

 

Regards

Lars

Avatar

Level 2

Thank you so much for your help @lgaertner and for the screenshot it really helps me.

 

Too appreciated!!!  

 

Regards

Samuel

Avatar

Level 9

Hi! Are you able to walk through how you set up this JSON parse? I am new to these and trying to do the same thing to grab the ID for a user typeahead field. Thank you!