How to access the data inside a record that is in a collection using post-processor? I need to get the teamName value

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Hi,

When you are mentioning about Post Processor i am assuming that you are refering to Kony Middleware services and using 8.3 and above plugins.

Implement the ObjectServicePostProcessor interface and its method, example can be found below.

public interface ObjectServicePostProcessor

{

void execute ( FabricRequestManager fabricRequestManager,

FabricResponseManager fabricResponseManager ) throws Exception;

}

void execute ( FabricRequestManager fabricRequestManager,

FabricResponseManager fabricResponseManager ) throws Exception

{

PayloadHandler handler = fabricResponseManager.getPayloadHandler();

JSONObject json = handler.getPayloadAsJson();

}

Need to traverse JSON object to get the required value.

Details can be found at http://docs.kony.com/8_x_PDFs/konyfabric/kony_fabric_user_guide.pdf,

Hope this helps.

Thanks

Thank you.

Hi @John Lewis​, were you to reach a resolution? If so, please click [Select as Best] under Prabhakar's response to close out this post. Thanks!

https://www.youtube.com/watch?v=Q-dDUKudCKg&feature=youtu.be