Refreshing the interface variable

Hi Everyone,

I have two process models p1 and p2. In p1 there is a user input tasks which opens the interface. In this interface there is a save button which runs the p2, but when p2 completes it is not refreshing the interface variables. I am using the refreshAfter param in refreshvariable function. Can anyone please help me out.

  Discussion posts and replies are publicly visible