Question
Synechron
US
Last activity: 4 Aug 2016 20:49 EDT
On click of a button we calling Refresh Section and a activity and the Close action, but this randomly shows Status Success screen, any ideas on this
On click of a button we calling Refresh Section and a activity and the Close action, but this randomly shows Status Success screen, any ideas on this
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
Hi Anirudh,
When you say that it is showing Status Success screen , do you mean that it is failing to perform the "Close Action " event and just ended up showing the success screen ? Or is it appearing like a pop up but the tab or window is getting closed anyway due to the close event ?
Also, have you checked running fiddler or tracer whether there is any difference in the series of events that occurs when the issue is coming and not coming ?
Pegasystems
US
By "success" screen do you mean the green checkmark that says something like "successful but returned no content" ?
Technically, this means that an ajax call from the browser back to the Pega server got a success status back but was supposed to get some content as well. Sometimes it is caused by the activity on the Pega side getting an error. Sometimes it is caused by a timeout or logout due to inactivity.
Yes, definitely use fiddler or tracer (not both together !) to compare good and bad cases, and also be aware whether the user went on coffee break or lunch break for awhile when this occurred. /Eric
Synechron
US
Hi Eric,
Thanks for your message.
It is displaying ActivityStatusSuccess-Section with a message The Operation completed successfully, but returned no content.
Synechron
US
Hi Santanu,
Thanks for your reply.
Yes, Close action is failing and when we run the tracer this close action is working fine without any issues.
Pegasystems
US
If tracer is ruining the experiment, try fiddler. /Eric
Pegasystems Inc.
US
Hi Anirudh,
On my 7.1.8 system, I added a button in a section. The button has a 'Click' event with 'Refresh-This section', 'Run Activity' and 'Close' actions.
During the run time, clicking on button actions work fine. In tracer, I can see that 'Refresh-This section' and 'Run Activity' actions are invoked. But I don't see any tracer for the 'Close' action.
My configuration:
Can you send us your button actions configuration and the tracer log? Which Pega release you are using?
Thanks,
Susan
Synechron
US
Pegasystems Inc.
IN
Hello Anirudh,
Can you please share a screen shot of the steps you are performing in the activity ?
Best Regards,
Mounika
Pegasystems Inc.
IN
Also, please attach the tracer log.
Synechron
US
Thanks for your reply Mounika.
Below is the screen shot of the activity. Here in the last step i am removing pyDisplayHarness page, not sure if this creating the problem.
Details of the activity -
Step 1- Doing a property remove, which istores the old values.
Step 2- Setting a param flag.
Step 3- Lopping to pagelists and setting the value, required.
Step 4- Saving the changes.
Step 5- Committing the save
Step 6- Removing Unwanted pages.
Virtusa Consulting Services Pvt.ltd
IN
Hi Anirudh - As per the above screen shot, you are trying to use the cancel action in the button action and there is nothing to display after the cancel action, so it displays success status.
After cancel action try to launch the required harness which you need to display after the button on click.
try as below:-
Synechron
US
Thanks Phani.
My requirement is on Click of that button we need to close the tab.
But your suggestion says that a default harness needs to be loaded.
Pegasystems Inc.
IN
Hi Anirudh,
What is the action you are trying to perform after closing the tab ?
Synechron
US
Thanks Mounika.
No action are being performed after closing the tab. (Clicking on the button)
Pegasystems Inc.
IN
I meant after closing the tab, what do you want to display? Is it a harness or a form? After closing you want to take users to certain page right ?
Just configure that action after Cancel.
Synechron
US
On Click of that button the Harness needs to be closed and there is no suc requirement to show any specific screen on click of this button.
After closing the harness users can continue their work.
Pegasystems
US
That "returned on content" screen means text was expected back from the activity and none came. It could be because the activity took a path such that it didn't do any "show-property" or "show-html" or "show-page", either because the activity wasn't called, or because it got an error. /Eric
Virtusa
IN
I am facing the same issue ,
I used a tabbed group , want to close the current tab on click of a button.
added run activity and close action .
Activity is running fine , but current tab is not getting closed.
Please advice.
Regards,
Mamata