Process Mapping Logo

Process Mapping - Forums

Sharing 19 years of knowledge and experience

 
Metastorm BPM forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
alfgt

Member
Registered:
Posts: 17
Reply with quote  #1 
Hi

I got a weird problem on Chaining Action and I have done so many Metastorm Maps also. My problem is I have two forms linked by chain action.
My first form has a drop down which user selects and then some details will be shown on the second form. Most of the time chain works , sometimes it doesnt work and it comes to my to do list breaking in between, even i select the same value from my drop down list.
The only error i get in Service Manager is

Decription : Failed to chain Action : Form2 Search . Previous successful action : Request from Form1

Please help
0
Rick

Avatar / Picture

Senior Veteran
Registered:
Posts: 259
Reply with quote  #2 
We get this too sometimes. Don't know what causes it or how to fix it.

Sorry, I'm not much help but at least you know you're not alone!

Rick.

__________________

Another full day of doing nothing but rearranging zeros and ones. :)
You know it will be a good day when there is no human interaction on the schedule.

0
toddgreve

Avatar / Picture

Senior Veteran
Registered:
Posts: 313
Reply with quote  #3 
How do you have your subsequent stage and actions roles defined for the user in particular this has had problems for?? Sometimes the alert list doesn't get calculated in time for a chained action, especially when the action is allocated to the ToDo List for example if the ToDo list is larger or just a little slower generating.

Try being explicit in the role defined for each perhaps

__________________
Sometimes I make sense, and sometimes I know what I am talking about, sometimes ... ;)

These comments are provided of my own volition, expresses only my viewpoint, and does not represent Metastorm's “official” position.
0
Sanatan

Member
Registered:
Posts: 31
Reply with quote  #4 
Hi folks, I am also in the same boat... repeatly getting the error 'Failed to Chain Action' on wizard type forms.

By Wizard Type forms, I am referring to map in which a second form is opened based on selections made on the first screen.

This is happening in a test env which we have upgraded to v7.5. The same forms are working fine in our Production env which is on v6.5.

Can someone please help. Thanks!

0
cyraspace

Member
Registered:
Posts: 12
Reply with quote  #5 
We had the same issue on our development system with our wizard style forms, it seems to be something to do with it being very low on resources and there not being enough time to work out whether the role would be able to run the chained action or apply to the to-do or watch lists.

What we did to get around this was to create a role called NextAction who's formula was a custom variable %txtNextActionUser.  Then on the do this of the very first action we set the custom variable %txtNextActionUser:=%user.name.

We then set every action to have this role.

Hope this helps.

Andy
0
Sanatan

Member
Registered:
Posts: 31
Reply with quote  #6 
Hi Andy, pls let me confirm if I understood your approach correctly...

For the chained action, you created a Dyn Role e.g. 'dynRoleChainAction' and on the Roles tab of the chained action, you made the chained action available to the above 'dynRoleChainAction'... The calculation formula for the dynRole was set to '%user.Name' via a custom variable always.
Am I correct above?

If yes, actually we have implemented the same approach in our forms as well. The difference is, we attempted to make the evaulation a lil' more dynamic by evaluting it thru JScript.Net functions. Using this approach, it assists us using the same dynRole for other actions and evaluate the action users by dynamically based on the current stage of the folder.
0
cyraspace

Member
Registered:
Posts: 12
Reply with quote  #7 

Hi Sanatan,

Yes you have understood our approach, seems like something else may be causing your issue if you are using a similar one.

Good Luck

Andy
0
wmitc2375

Senior Member
Registered:
Posts: 71
Reply with quote  #8 
For what it's worth, I will mention a failed Chained Action I had the other day and eventually what lead to a resolution.   I am new to MetaStorm so this was just some testing I was doing to learn the product.

I had a simple form defined in the initial action (First Action) and had the Chained Action checkbox checked and in the Chained Action Name, I had keyed in;

Second Action   (with no quotes as the Designer Manual did not indicate to do so).

I built the form and when I started the process, my first form came up fine but when I submitted it, the second form associated with Second Action did not.

I opened a case with MetaStorm and their support could not figure it out.   I sent them my process and they said it worked on their side.

In desperation, I tried putting the chained action name in as "Second Action" adding quotes to either side.   I republished and the chained action worked as it should.

What's really weird is, I then removed the quotes and republished and the chained action continued to work.   I know the actual text Second Action was spelled right all along so I nor support could figure out why it was failing.

This might be an isolated experience but I wanted to share just in case someone else runs into it.   I am using version 7.6
0
Sanatan

Member
Registered:
Posts: 31
Reply with quote  #9 
Hi, thanks for sharing the info. Actually we use a CustomVar directly in the chained action name i.e. %openNextForm and ensure the %openNextForm is set to a valid action name (in doublequotes) in the map before it is used by the Chained Action. We use this approach across our app in v6.6.5 and it worked great.

I didn not ever specify the action name directly in the 'Chained Action Name' field. So I was not aware if it requires a doublequotes around that as well.

I still believe it is a performance issue as noted by other folks. We are planning to purge bulk of data out of 'eUser' and 'eAssignment', 'eAlert' and 'eEvent' tables to see if that helps. Thanks for your inputs.
0
rishi

New Member
Registered:
Posts: 1
Reply with quote  #10 
Try this %Evaluate("Action Name")

Replace action name with your action.

Even if it doesn't work, then give Anyone role to "Action Name" and try.
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:


Create your own forum with Website Toolbox!