Question
EY
CA
Last activity: 16 Oct 2018 12:03 EDT
Launch Review Harness on Discard
Requirement: on Click of button discard we want to discard changes and launch review harness.
Issue: Though the review harness is launched on discard, the data reflects the changes. But, on refresh changes are discarded.
***Updated by moderator: Lochan to add Categories***
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
Hi karua2,
Could you add a screenshot of the button configuration used? (Actions tab preferably).
What if you would add a Cancel action for OnClick event?
Regards,
Evita.
-
Amit Gujral
EY
CA
Hi Evita,
If I only use cancel option, changes are discarded but I want the Work object to be shown in Review mode. Please find attached configuration.
Thanks,
Abhishek
Pegasystems Inc.
IN
Try calling an activity to first discard the changes then a show-Harness method to launch review.
EY
CA
Hi I tried to call the activity Show-harness and do a refresh. No luck. Is there any specific activity to discard changes ?
Pegasystems Inc.
IN
Take a look at CancelAndDisplayWork activity . May be that can help.
-
Siripuram Mahesh
Infosys
AU
Use Show-Harness and use Review Harness
Pegasystems Inc.
IN
Copy the same action as Refresh.
i.e. Refresh current harness + Check Disable Submit on refresh + Specify Activity
For activity Make a copy of RefreshOnConflicts (let's say ReviewAction) and only keep last two steps which does Show-Harness by mentioning the param.Purpose as Review.
Let us know if you need more information on this.
EY
CA
Hi,
Thanks for the reply. With your approach too i need to do a refresh on the review harness to see the changes are discard.
Pegasystems Inc.
IN
Disable submit on refresh check should already take care of not persisting the data and will wipe from clipboard. Are you noticing the entered data on UI even after refresh ?
EY
CA
Yes. I see the changes not being removed. But if I do a refresh again, then I don't
Pegasystems Inc.
IN
Could you share your exact configuration if possible? I tried the same with same config and it is working.
Commonwealth Bank of Australia
AU
Hi Karua2,
Any update on this. I have similar requirement. Please let me know if you have solution for this.
Thanks,
Krishna Chaitanya
Pegasystems Inc.
US