Question
Royal Bank of Canada
CA
Last activity: 26 Jan 2018 15:10 EST
How to trace Wait shape
Hi, can I trace a wait shape? I mean can I trace the request after the wait is over and when it wakes up? If yes could someone please provide me the details?
Thanks in advance.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
When the Wait shape is configured with a time interval, a queue item is generated that gets processed by the ServiceLevelEvents agent. You can trace the ServiceLevelEvents agent to see the flow resume from the Wait shape.
Pegasystems Inc.
IN
Hi DurgaVaraPrasad,
Thanks for writing to PSC.
If the request is server trip , you can check that in network tab of browser dev tool.
Press F12> network Tab> select the type of request and review the details of request and response .
If you didn't meant this kind of request then share more details of your usecase.
Hope this helps!
Thanks:
Gurpreet
Royal Bank of Canada
CA
Thanks Gurpreet. I will try this and get back to you.
Pegasystems Inc.
IN
Hi There,
You can trace this with Normal tracer.
Whenever wait goes over Tracer will trace all the rules that it encounters normally.
Regards,
Ujjwal
Royal Bank of Canada
CA
Thanks Ujjwal, I will try this.
Pegasystems Inc.
US
The wait shape creates the declare trigger right. Try setting the declare trigger rule type in settings and check
Royal Bank of Canada
CA
Sure, I will try this also
Royal Bank of Canada
CA
Hi, thank you for your replies. Both Ujjwal and lagad's solutions didn't work for me. And I do not know how to work with Gurpreet's solution as I am not using browser here.
We have one Rest service. I am using SOAP UI to test it. I am directly tracing the Rest Service rule. So as soon as the request triggered in Soap UI application, tracer is running and stopping at the wait shape. I put 2 mins time interval at Wait shape. So after wait over and the request resumes, I am not able to see what is happening. Some times my requests are proceeding correctly and sometimes they are failing.
Before wait shape we are creating the work object using AddWork activity on CreateWork page. So, my question is after wait resumes, which page it uses? CreateWork or pyWorkPage? I am using CreateWork page in the activities after wait to refer work object. Is that correct?
Accepted Solution
Pegasystems Inc.
US
When the Wait shape is configured with a time interval, a queue item is generated that gets processed by the ServiceLevelEvents agent. You can trace the ServiceLevelEvents agent to see the flow resume from the Wait shape.
-
Durga Vara Prasad Narayana Rao Bali
Royal Bank of Canada
CA
Thank you CarissaW. Your solution is working. I am able to trace the "ServiceLevelEvents" agent and see the request progression. It is using pyWorkPage after request resumed.
Thanks a lot for the solution.