Pulling out information

I have this string {“documentId”:“691399cd054c02fr1a0”} that comes back from a document upload. I need to pull out just the documentId numbers. This is not an array or a json file, just the text data.

I have tried replace, map. but they all give me an error.

any suggestions

Hello Steve,

Please give us more details - are you using the HTTP module to upload the document? Screenshots of your workflow will help us a lot.

To help you solve the issue more quickly - if you are using the HTTP module, be sure to set Parse response to “Yes”.

You can also use the JSON Parse module after Document Upload or - assuming the document ID will always be 19 characters long - use

{{substring("{"documentId":"691399cd054c02fr1a0"}"; 15; 34)}}

But parsing in the HTTP module is the best option.

2 Likes

Oh My gosh… thank you!!

that was it. I Knew it had to be something really simple.

Problem fixed

2 Likes

Awesome! Good to hear that!

@Steve_Griffith If your issue has been resolved, please mark the helpful reply as Solved .
This helps keep the community organized and makes it easier for others to find the right solutions.