![]() |
|
![]() |
AutoMate Discussion | ![]() |
help :
faq :
home
|
||
Latest News:
|
latest topics : statistics |
Topic Title: Help required extracting component from decoded JSON string Topic Summary: Created On: 05/15/2018 09:18 PM Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi. I'm trying to extract the "message" component from the attached Facebook JSON string, but it fails when attempting to decode the JSON array. Does anyone know what I'm doing wrong here?
Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder) |
|
|
|
![]() |
|
Hi Jason,
I tried to run your script and it failed but the following works! Note 'error' is a reserved work, so this is partially the culprit that makes your script fail. I think also the other part is that you are trying to pass in as Array. That part I am not sure since I have not worked with JSON. I think if you are getting a response back that has error, I would just replace the error with some other word to push it through (Use Text Action Replace)? Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder) ------------------------- Thank you for choosing AutoMate Hamid Noorbakhsh | Senior Software Engineer AutoMate | A Division of HelpSystems HelpSystems, LLC | T: +1.213.738.1700 |
|
|
|
![]() |
|
Thank you. I wasn't aware of the keyword reservation in AM11. Facebook uses that word extensively in its error messaging. I'll do a simple text replace as suggested
![]() |
|
|
FuseTalk Enterprise Edition v4.0 - © 1999-2021 FuseTalk Inc. All rights reserved.