Refresh window (F5) from activity

Hi, for customer needs I have to finish an assignment from an activity using Call FinishAssignment. This does it well, the problem is that the screen gets stuck in the section of the assignment that is already finished and I have to do F5 manually to change it.

Does anyone know how to refresh the screen from the activity itself?

@CarlosC16988842

You can directly use refresh harness from the button where you’re finishing assignment. But if you’re screen is getting stuck that means there is an error backend which is causing it. Try to fix it first.

@CarlosC16988842You Can use, Open Work By Handle and Call pzInskey in Actions Tab. So that, Case will be refreshed

@SohamM95 I’m not using a button to finish the assignment, I’m doing it in an activity.

@Yaswanth Manda The case updates fine, what I need is to refresh the window.

@CarlosC16988842

Then you can place a refresh icon on the screen and on the action perform refresh-harness.

@CarlosC16988842

I recommend using UI subscription Notification to automate the refresh if you’re not using the UI screens to finish your assignment.

Pegasystems Documentation?