Process Mapping Logo

Process Mapping - Forums

Sharing 19 years of knowledge and experience

 
Metastorm BPM forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
wmitc2375

Senior Member
Registered:
Posts: 71
Reply with quote  #1 
I have a main procedure which calls a sub procedure via a raise flag on a user action.

What I would like is for the browser interface to display an initial form when the sub procedure is initiated.    Is this possible?

Also, I have a grid on the main procedure form which is a folder-type grid.   The contents of this grid need to update to show newly created folders from the sub procedure linked with the grid.   Also, edits to underlying sub procedure folders need to reflect on the grid.   Currently, I have a "Refresh" button which does nothing and the grid set to "Field is dependent on another".

I read in one post where a user asks the same question about the grid automatically refreshing and here is the reply from another user;

We've implemented this in the past via a client-side script that uses setTimeout to refresh the page every so often by calling UpdateDependents. The grid needs to be set to 'Is dependant' of course.

While that would appear to work, I would think this would cause the annoying "click/refresh" behavior that to me is quite annoying, especially when the user perceives it is happening when they do not click anything.

By the way, if that is the only fix, then if someone can please post an example here as I am new to client-side scripting techniques in MetaStorm, I would appreciate it.  Or email me offline if easier.

I have worked with many development platforms, and while MetaStorm BPM has the workflow and state data I needed for my application we are building, it seems very lacking in what would seem like very obvious functionallity.  For example, as stated above, if I have a grid which is bound to another sub procedure, why would it not automatically reflect adds/edits to the underlying folder data?

I guess as this being my first post, many are going to think of me as just someone wanting to rant.   That is not the case at all.  I just need to find solutions to the issues I am having.

Even MetaStorm technical support does not seem too helpful on these types of questions and my implementation mananger who is sending someone next week on site for three days to help us get going says to use the ProcessMapping forum as I will probably get better results.

I just REALLY hope there is help because my user base is acustomed to custom VB.NET applications where we can pretty much make the application behave as we wish.   Not to mention my back side could be on the line if I cannot make this platform do what we need.   I am sure most on this forum know the cost of MetaStorm and while we got a detailed proof-of-concept by the sales team, I could never get them to allow me to try a working copy of the software before buying it.

Oh, and I will mention, Jerome's book is full of good "Wish List" items that MetaStorm should really address.  The lack of true temporary variables is without question something that needs to be resolved.
0
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #2 
There are several issues here that need to be addressed. We have implemented solutions to the some of these issues. We can, with an installed application, pop up a folder on a user's PC without them having to 'find' it. This is used for a call centre, and works quite well there. We would have to customise a separate solution as that code is not ours to give or sell, but that would not be too hard to re-do.

The main problems with refreshing are how you acheive it. You need some link or a constant monitor. Having said that, we (I should say Doogal) have very good .Net skills, and I think that would provide the kind of solution you may require.

All in all, I cannot easily solve anything with immediate answers, and as always, time is limited as there are some serious demands on it right now. Having said that, if you were able to pay for some time (and this is not a cheap call to grab some work) we can provide an estimate to solve these problems. Email or PM me if the need is great enough to justify spending some cash. If not, I am sure there will be several potential solutions offered in the next day or so. If you have the time to do so, it will be a good learning experience to work the solutions through with the forum's help, I am certain.


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

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #3 
Quote:
Originally Posted by wmitc2375
Oh, and I will mention, Jerome's book is full of good "Wish List" items that MetaStorm should really address.  The lack of true temporary variables is without question something that needs to be resolved.
Thanks for that.

I should mention that SWIFT from BRD allows temporary client side variables (based on a bug that we asked them to keep, and make a feature, as it happens!) as well as many other very useful client side customisations. There is an additional development overhead, and you will find once you start using the functionality the 'standard' e-work client may not be enough, but it may be what you are looking for.

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

Senior Member
Registered:
Posts: 71
Reply with quote  #4 
Jerome,

Thanks for the offer and the info.   I will likely wait until after next week when the MetaStorm development person is onsite and I address some of our concerns with him.

I have reviewed SWIFT through a personal web session with the developer.  It looks pretty nice and I made a plug with my management to buy it.  They turned it down for now saying we need to see what all can and cannot be done with MetaStorm out of the box.

By the way, and just a curiosity question;

Since MetaStorm is built on .NET or at least works somewhat with .NET, what do you think the odds are that MetaStorm may eventually incorporate .NET assembies in place of or in addition to their own proprietary scripting language?
0
Doogal

Avatar / Picture

Guru
Registered:
Posts: 1,564
Reply with quote  #5 

Re: your .NET question, I'm assuming the next release with a brand new Designer will have better .NET integration. Having said that I'll be somewhat upset if it's not fully backwards compatible with current procedures, as we have hundreds of processes we support. If they manage to pull it off, I'll be mightily impressed.

0
Doogal

Avatar / Picture

Guru
Registered:
Posts: 1,564
Reply with quote  #6 

As to the refresh question, if you do a refresh from client script, it's possible to just refresh the fields, rather than the whole form, so you get a bit of flicker but nothing too monstrous. It looks just like a normal e-Work form refresh.

0
wmitc2375

Senior Member
Registered:
Posts: 71
Reply with quote  #7 
Doogal,

If I have a grid object named grdProduction and wish to refresh it say every every 30 seconds, would I put this code in the Client Extensions of the Form or the Grid.

Do you have a small example of the code that will do this?

Thanks.
0
Doogal

Avatar / Picture

Guru
Registered:
Posts: 1,564
Reply with quote  #8 

Try this. In a real process you'd probably not want to refresh quite so often.

 
Attached Files
xep Refresh_grid.xep (1.93 KB, 21 views)

0
wmitc2375

Senior Member
Registered:
Posts: 71
Reply with quote  #9 
Doogal,

Ok, that works ok but the timing is a bit tricky.   I set it to 10 seconds and after a user edits a folder and returns to this screen, it sometimes looks good because it was just about time to refresh but at other times, the near 10 second wait seems too long.   Plus, if the form is showing in the background under the edit folder form, the user sees the refresh constantly going on in the background.

Also, the highlight bar on the grid disappears and reappears which looks a bit odd.   Anyway, I do appreciate the code and unless the MetaStorm consultant at our location next week has another answer, this is likely the solution I will use.   If he knows of something else, I will post it here.

Thanks,
Bill

0
Doogal

Avatar / Picture

Guru
Registered:
Posts: 1,564
Reply with quote  #10 

Thanks, I'd be interested to know if they do have a better solution

0
rfromm

Member
Registered:
Posts: 32
Reply with quote  #11 
I am trying to refresh a grid after inserting a new row into it, picked up the code you left on this, but do not understand.
Can I not just reload the grid after inserting the row?

__________________
Rosemary
v 7.5 - still waiting for an updated version....
0
BMellert

Guru
Registered:
Posts: 688
Reply with quote  #12 
Its its an editable grid ... no.  (At least not in a supported fashion.  Others may be able to help better there.)

If its a read-only grid, set the Field is dependent on another check box.
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:


Create your own forum with Website Toolbox!