Thq soo much bro..its completely a new topic .Among all the videos with this i got 100% new info for this. Appreciate it for immediate posting this video.
Thanks Sri for making this entire series on REST API Integration. Will it be possible to make one video on Connect-SOAP and Service-SOAP as well. there we have to configure XML parse and XML Stream rules aswell. if you make one on them as well that will be great :)
1. i have JSON payload along with other QA/UAT records in DB 2. I used obj-browse and saved it to a page (PullPage) 3. Now i want to save that JSON payload in the Pullpage to MyServicePage by parsing it. How can I achieve this? mapping individual properties to json is not required and hard coding too, I want to use the json directly from the page.
Thanks for this video!One question - when the Jason format from api and the application request are not in same format ,can we use the map all in datatransform option only without having steps mentioned in datatransform for one to one mappin?.
Hi Sri When ever your are hard coding the json format you have used backward slash just to avoid double quotes ,but the same json request coming from REST service ,I don’t think you haven’t used anything ,how that has been formatted correctly,could you please let me know .
Hello, Thanks for the video, One questions: What if we don't know what are the JSON elements? For example, I have a similar case, but the user is passing the JSON from UI so at DT level I don't know what are the elements and all. Is there any way to identify the JSON elements?
Hi Bro have one query. Today i came to know that if we use obj-save with Write Now checked, it will save data to db but it wont release lock . SO How that lock will get released bro? How pega handles this situation.
Hey sorry for some reason I missed your query. do mail me also if something urgent at pegahut.au@gmail.com Yes you are right, PEGA doesn't release the lock on WriteNow. If you have written an activity with WriteNow and you are updating an object, means you have acquired the lock on that particular instance. If you are using that as part of your work flow, then PEGA would release the lock once the assignment is finished if you are using in a standalone activity independently then PEGA would release the lock only after the default time i.e. 30min(unless you have manually configured to high number). Until then no other requestor can acquire a lock or do any update on that specific work object. That's the reason why PEGA complains when you check that box write-now in obj-save. technically that's not same like commit. You should only use write-now if in an complex activity process, you have instances where at a given point of time you need to save the data to DB and then calculate and save it again. But if you doing that, make sure you are releasing the lock or just call commit at the end. PEGA will release the lock. Hope it's clear.
Ho sir nice video. I have one question How to debug service rest. There is problem ccame when user try get service he didnt get any thing in production. How to debug services ? If they are in production
Hi bro have one query. Scenario is,we optimised one property . Now we need to push this to higher environments.May i know how we can merge this and what steps we need to follow. Heard sane questions from different people so asking.Thnq You can just reply here.
When you optimise means what? Basically you are creating a column in the backend database for that table. Soo while taking to higher env, you need to take the database table instance in the product file. Its a data instance. Go to record explorer and open the table (data-admin-db-table i guess) and then get the pzins and mention in your product file
Thanks for this video! Please continue posting more pega related videos
Really helped figure out how to parse JSON from REST service. Thank you!
Thanks 😊.
Thq soo much bro..its completely a new topic .Among all the videos with this i got 100% new info for this. Appreciate it for immediate posting this video.
You welcome, thanks for suggesting. I also learned many things while creating this video :)
As expected your video is always awesome Thanks
Thanks Govind for taking time and providing feedback
Thanks for detailed explanation Sri.Learnt another new topic 😊
Thanks Durga 😊
Great explanation, thank you!!
Thanks for the Video !
My pleasure
You can directly use in service rest instead of legacy mode use hain data transform than using in activity.
Bro can you do a video on agents... Defference between a queue processor and job scheduler...
Sure Anil, will do soon
Thanks Sri for making this entire series on REST API Integration. Will it be possible to make one video on Connect-SOAP and Service-SOAP as well. there we have to configure XML parse and XML Stream rules aswell. if you make one on them as well that will be great :)
1. i have JSON payload along with other QA/UAT records in DB
2. I used obj-browse and saved it to a page (PullPage)
3. Now i want to save that JSON payload in the Pullpage to MyServicePage by parsing it.
How can I achieve this?
mapping individual properties to json is not required and hard coding too, I want to use the json directly from the page.
Thanks for this video!One question - when the Jason format from api and the application request are not in same format ,can we use the map all in datatransform option only without having steps mentioned in datatransform for one to one mappin?.
There also it would be one to one. In the data transformation of API field you just need to mention the API json field name
this videos are really helpfull, could you pls create one shot for cssa.
Hi Sri
When ever your are hard coding the json format you have used backward slash just to avoid double quotes ,but the same json request coming from REST service ,I don’t think you haven’t used anything ,how that has been formatted correctly,could you please let me know .
Cann you please let me know the timing in the video, so I can go see and will answer your query. its been long i have created this video
Hello, Thanks for the video, One questions: What if we don't know what are the JSON elements? For example, I have a similar case, but the user is passing the JSON from UI so at DT level I don't know what are the elements and all. Is there any way to identify the JSON elements?
I am not sure how thats possible. You would know the json element. Whether it will come in request or not thats a different story
how to handle null??
Hi Bro have one query. Today i came to know that if we use obj-save with Write Now checked, it will save data to db but it wont release lock .
SO How that lock will get released bro? How pega handles this situation.
Hey sorry for some reason I missed your query. do mail me also if something urgent at pegahut.au@gmail.com
Yes you are right, PEGA doesn't release the lock on WriteNow. If you have written an activity with WriteNow and you are updating an object, means you have acquired the lock on that particular instance.
If you are using that as part of your work flow, then PEGA would release the lock once the assignment is finished
if you are using in a standalone activity independently then PEGA would release the lock only after the default time i.e. 30min(unless you have manually configured to high number). Until then no other requestor can acquire a lock or do any update on that specific work object.
That's the reason why PEGA complains when you check that box write-now in obj-save. technically that's not same like commit. You should only use write-now if in an complex activity process, you have instances where at a given point of time you need to save the data to DB and then calculate and save it again. But if you doing that, make sure you are releasing the lock or just call commit at the end. PEGA will release the lock.
Hope it's clear.
@@pegahut thnqs bro. Thats soo clear. Appreciate it bro.
You welcome
Ho sir nice video.
I have one question
How to debug service rest.
There is problem ccame when user try get service he didnt get any thing in production.
How to debug services ?
If they are in production
Trace the activity, or check logs
Hi bro have one query. Scenario is,we optimised one property . Now we need to push this to higher environments.May i know how we can merge this and what steps we need to follow. Heard sane questions from different people so asking.Thnq
You can just reply here.
When you optimise means what? Basically you are creating a column in the backend database for that table. Soo while taking to higher env, you need to take the database table instance in the product file. Its a data instance. Go to record explorer and open the table (data-admin-db-table i guess) and then get the pzins and mention in your product file
@@pegahut thnqs bro.thought the same but now its clarified.