Process Mapping Logo

Process Mapping - Forums

Sharing 19 years of knowledge and experience

 
Metastorm BPM forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
powerplay

Avatar / Picture

Senior Member
Registered:
Posts: 77
Reply with quote  #1 
Hello Friends,

Why is it that the new process that is initiated on button click(Initiate a process) is not related as a child, to the folder from which it is created?

Actually, we have one requirement that the user should be able to launch new process from button click and he himself is the actor of the first action in that new process.

Here, I can show the first action form of that new process on button click by setting property as "Initiate a process" in the button.

But that new folder is not created as a child, means it does not have parent folder relation.

As a workaround I have to use "Raise Flag" activity on button click which creates the new folder as a child folder. But it becomes bit lengthy for the user, as after clicking a Button, user has to 1.) Manually refresh the ToDOlist and then 2) open the new folder and then 3) click on the particular action to fill up the details.

So creating a folder on button click seems to be efficient from users point of view as it reduces those 3 steps.

Please provide any suggestions on this...



__________________
Thanks
HB
0
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #2 
We normally pass in the folder id and set the parent in a field. There are two main approaches to this that we ourselves use, although there are probably a dozen other suggestions:

Firstly we set a cookie, and then set a field from that cookie on the new form. We use two simple client functions from our library, SetCookieFromField(<cookie name>, <field name>) and SetFieldFromCookie(<field name>, <cookie name>). We call the first from the button initiating the folder, and the second on the form load of the opened form.

The Second (and more recent) approach is to use a status field. Seems odd, and users may not like the 'non-button' look, but it is simpler. You can set the Process and Action, and then set the values to be added to any fields in the called form. The new process must be in the same project, however.

We will use the second approach all the time when Metastorm add the same functionality to the start new process button. I have made a suggestion on Metastorm's forum, please reply to it if you want this feature added.
http://community.metastorm.com/t5/Idea-Central-Metastorm-Product/Add-the-ability-to-pass-parameters-to-folders-created-from-a/idi-p/6317

You can see the first approach in action in our Development solution (soon to be replaced by our Release Management Solution) when we open Reports.

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

Avatar / Picture

Senior Member
Registered:
Posts: 77
Reply with quote  #3 
Thanks Jerome,

Yes, that would be great if we can pass parameters to the New process folder. As Setting and Fetching cookie value seems to be lengthy customization for the small possible functionality that can be provided within.

Also, If there would have been an option in the Properties itself, to ask if to launch new process as child folder. That would have been great.

__________________
Thanks
HB
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:


Create your own forum with Website Toolbox!