Process Mapping Logo

Process Mapping - Forums

Sharing 19 years of knowledge and experience

 
Metastorm BPM forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
Martinu

New Member
Registered:
Posts: 6
Reply with quote  #1 

Hello All,

 

I am using Metastorm 9.1.3.2 (latest from June 2012).

 

Since the latest releases (that first broke chained actions, then subsequently changed them to get them to work) I have had an issue with our custom process which hides the action bar and presents the actions in groups in a folder page.

 

The reason to hide the action bar is that the action count can be upwards of 20. This is not really changeable as it is an admin process and wouldn't make sense to be put into seperate user stages.

 

My issue/Question is that I need to know what has changed within the URL that metastorm use from the action bar as chained actions no longer operate when picked from our custom menu.

 

The URL is built as follows within an iFrame on the form (for each action):

 

ActionName is passed through to the function:

 

window.top.window.open(Bpm.UI.FormManager.get_current().get_applicationPath() + window.top.window.top.folderManager.getFolderFormActionUrl(ActionName), window.top.Bpm.UI.FormManager.get_current().get_mapName(), window.top.Bpm.Utils.get_windowOptions());

 

The URL is slightly different from SBW but that is a different matter entirely ;)

 

any help or suggestions would be greatly appreciated!

 

Thanks,

Martin

0
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #2 
Why are you using a URL, and why not use the standard 'chained action' mechanism?

__________________
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
Martinu

New Member
Registered:
Posts: 6
Reply with quote  #3 

Hi Jerome,

Thanks for the reply!

 

I probably didn't explain myself very well...

 

The chained action is used as normal... i.e. the check box in designer then specifying the chained action name etc...

 

The URL is used to display all the actions within a folder page.

 

So, the user is presented with the actions available "neatly" grouped..

 

Clicking the action launches the action as expected, however, if it is a chained action, it just closes with no chain.

 

Picking the action from the action bar (when not hidden) it operates as expected.

 

I have attached an image of the folder page and the basic action (where you pick whether to chain the action etc).

 

Hope this makes more sense.

 

Again, thank you for the help!

 

Cheers

Attached Images
jpeg FolderPage.jpg (72.66 KB, 21 views)
jpeg ActionPage.jpg (21.78 KB, 20 views)

0
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #4 
Sorry, I'm still not sure how the URLs are used then. What is does clearly tell you, however, is not to reply on the underlying and 'hidden' functionality (such as the URLs for actions). The reason is one that I have learnt extremely well over 15 years using the product. Any such reliance will eventually fail, and everything has to be rewritten.

We almost always use the 'standard' and fully supported functionality. Quite frankly, we have enough problems with that breaking between builds (as 9.1.3 has again demonstrated) to want to introduce more problems!

If I understand you correctly, I would use a dropdown to allow the user to select the action they wish and chain to that. You could also use a radio group, perhaps. A dropdown list can be extracted from the database, but a RG cannot.

I apologise if I have misunderstood, however.

__________________
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
BMellert

Guru
Registered:
Posts: 688
Reply with quote  #5 

We have been using a radio group (though it could work with a drop down as well or some other logic) to set a variable which is used in the chained action name field to determine which action to call.  (For instance, we have a wizard of forms, but a user can jump to another form directly instead by clicking the preferred form.)  Set the variable to a default (the normal next action) and allow the user to change if desired.  No need for URLs and uses built-in functionality.

0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:


Create your own forum with Website Toolbox!