Question

2
Replies
1153
Views
Uday Vell Member since 2017 3 posts
Siemens Technology and Services Private Limited
Posted: 2 years ago
Last activity: 2 years 6 months ago
Closed

JQuery ajax call vs pega.u.d.asyncRequest()

Hi,

I have a requirement for a custom control (a genuine 'custom' req). The control much run an activity in pega asynchronously.

Point is: both pega.u.d.asyncRequest() and $.ajax (Jquery ajax call) work, meaning I am able to run an activity asynchronously. But I want to understand what is the benefit of using pega.u.d.asyncRequest() over $.ajax? BTW Jquery 'context' does not work with pega.u.d.asyncRequest(). Are there any longer term issues if I use $.ajax?

***Updated by moderator: Lochan to update Categories***

Data Integration Java and Activities Data Integration
Moderation Team has archived post
Share this page LinkedIn