Process Mapping Logo

Process Mapping - Forums

Sharing 19 years of knowledge and experience

 
Metastorm BPM forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
jatin

Senior Member
Registered:
Posts: 52
Reply with quote  #1 
Hi,
We are using 7.6.
When the user opens a folder from the todo list, we display some data in the folder view. there is only 1 action available to the user.. the user clicks on the action and fills in some data and clicks on a 'Next' button which basically is a chained action to open another form.

when this happens, the folder page seems to flicker but it does not refresh the data. a user would need to close the folder and re-open to c the new data.

is there any way i can refresh the folder data when the chained action re-opens?

Thanks
0
mohnshine

Avatar / Picture

Senior Veteran
Registered:
Posts: 270
Reply with quote  #2 
You can run this client function when the chained action's form loads

function ReloadStage()
{
    window.top.opener.top.location.reload();
}



__________________
Your best practice does not conform with my best practice.
0
jatin

Senior Member
Registered:
Posts: 52
Reply with quote  #3 

i did try that.. but the problem is that it closes the action window

0
mohnshine

Avatar / Picture

Senior Veteran
Registered:
Posts: 270
Reply with quote  #4 
I forgot about the closing action form problem.

What we eventually did was hide the stage form by focusing on the BPM client interface and then refocus on the action form, which is the following code.

    window.top.opener.window.top.opener.focus();
    window.top.focus();

Then the chained action would refresh the stage form when it finished (Re-open folder checked).

__________________
Your best practice does not conform with my best practice.
0
jatin

Senior Member
Registered:
Posts: 52
Reply with quote  #5 

hmm.. i cannot check 'Re-open folder' for a chained action. the action can be either chained action or re-open folder.. unless i am missing something..

0
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #6 
In what way does the Folder data 'not refresh'? I have always found that the data is refreshed on a chained action. You must be referring to some additional updates that are not refreshed?

[edit] OK, I see what you mean - the background folder form is still open and not refreshed.

__________________
Post an example, and we will have a much better idea what the problem is. In about 90% of posts, the problem is one of communication. Examples bridge that gap.
0
mohnshine

Avatar / Picture

Senior Veteran
Registered:
Posts: 270
Reply with quote  #7 
Quote:
hmm.. i cannot check 'Re-open folder' for a chained action. the action can be either chained action or re-open folder.. unless i am missing something..


Sorry I was not clear enough.  The chained TO action would be set to reopen the folder, not the chained FROM action.  Of course, if you are going to have the chained TO action chain to another action, you won't be able to check Re-open folder.

__________________
Your best practice does not conform with my best practice.
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:


Create your own forum with Website Toolbox!