Question

2
Replies
51
Views
Close popover
Greg Parks (GPARKS952)
Unitedhealth Group, Inc.
Pega Application Architect
Unitedhealth Group, Inc.
US
GPARKS952 Member since 2014 6 posts
Unitedhealth Group, Inc.
Posted: February 19, 2018
Last activity: March 2, 2018
Closed
Solved

Parsing JSON doesn't seem to work - tracing the same does! (why?)

I have an activity with a Java step to parse JSON:

try {
myStepPage.adoptJSONObject(myStepPage.getString(".property"));
} catch (InvalidStreamError ise) {
oLog.error("Invalid Stream Error parsing JSON: ", ise);
}

And it seems to work... somewhat, but doesn't always set the actual resulting properties on the page;

but if I trace the same activity, it always works and always fully populates the page -- what's the difference?

Data Integration Java and Activities
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.