www.skelta.com
Home      Members   Calendar   Who's On

Welcome Guest ( Login | Register )
      

Home » BPM.NET 2007/Sharepoint Accelerator 2007 » BPM.NET 2007/Sharepoint Accelerator 2007 » Workflow Execution » Activity doesn't seem to end

14 posts, Page 1 of 2. 12»»

Activity doesn't seem to endExpand / Collapse
Author
Message
Posted Wednesday, January 09, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, March 05, 2008
Posts: 80, Visits: 277
Hi there.

What happens is that for some reason sometimes, one checklist executes (submitted trough API), but it stays on waiting state (please see the attached picture for more details)

As you can see the action continues along its normal path, however the workflow state
stays "waiting" and that's a problem specially when this occurs on a child workflow as the parent won't be allowed to continue.

As a consequence I end up having to abort the workflow.

I have had this issue for several times, and I can't seem to understand it or find a way of repeating it.

As anyone had this problem before?

Thanks for your help,

Rui

  Post Attachments 
skeltaImage.JPG (62 views, 53.07 KB)
Post #258
Posted Wednesday, January 09, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Saturday, April 26, 2008
Posts: 128, Visits: 422
Hi,
I have couple of questions
1) Are you using the sample code which we gave for submitting the checklist ?
2) Is there multiple actors for the checklist or is it single actor ?
3) I could see the output of check list activity as actividadeCompleta, Is this a drop down value which is marked as completion maker in the check list ?
4) Is this issue consistent ?

regards,

Moderator

Post #260
Posted Thursday, January 10, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, March 05, 2008
Posts: 80, Visits: 277
Hi there,

In response to your questions:

1) I'm using the Workitem.submit code;
2) It is available for multiple actors, however, Max. Ownerships is set to 1;
3) Yes. I use this on every checklist because I had a problem while using "Action Complete". Sometimes it would execute twice (using API).
4) No. It has happen on different activities, on different workflows, but never in a way here we can find a pattern.

Thanks for you help.

Best regards,

Rui
Post #266
Posted Thursday, January 10, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Saturday, April 26, 2008
Posts: 128, Visits: 422
Hi,
So you want the action to be completed if atleast one actor takes part ?
Can you set the below properties too and let me know the output
1) Min. Ownerships [% or Number] -> 1
2) Max. Ownerships [% or Number] -> 1
3) Max Actors Required For Checklist Completion [% or Number] -> 1
4) Min Actors Required For Checklist Completion [% or Number] -> 1

regards,

Moderator
Post #269
Posted Friday, January 11, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, March 05, 2008
Posts: 80, Visits: 277
Hello once again.

For this activity we have:

1 -> 1;

2 -> 1;

3 -> 100%;

4 -> 100%

Will that make a difference? I would like to remember that this only happens time to time.

Thank you once again for your help and quick response.

Best regards,

Rui

Post #277
Posted Friday, January 11, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Yesterday @ 6:29 AM
Posts: 105, Visits: 556

Hi Rui,

Certainly, It makes difference. 

When you set the properties as below:
 
3) Max Actors Required For Checklist Completion [% or Number] -> 100%
4) Min Actors Required For Checklist Completion [% or Number] -> 100%

Checklist will wait for all participant to act on it, Whereas you are allowing only one participant to take the ownership. When you set Max. Ownerships [% or Number] -> 1, the moment any of the actor take the ownership, the activity will be removed from all other actors. Then only remedy is to kill/abort the workflow from the BAM.

So either you change the "Max. Ownerships [% or Number]" to 100%. (This settigs allow all actors to take ownership or act on Checklist) 

OR

3) Max Actors Required For Checklist Completion [% or Number] -> 1
4) Min Actors Required For Checklist Completion [% or Number] -> 1



Regards,

Bineesh E Raghavan

Post #278
Posted Friday, January 11, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, March 05, 2008
Posts: 80, Visits: 277
Hi there,

What you say makes perfect sense and I agree with you.

However, this configuration works 98% and we haven't been able to repeat the error, making me wonder if there is more to it then it seems.

I will update every activity we have (in some of them we already have these settings).

Thanks you for your answer.

Best regards,

Rui

Post #283
Posted Friday, January 11, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Saturday, April 26, 2008
Posts: 128, Visits: 422

Hi,

Before updating every human activity in the process, update these properties for first few and check the execution pattern.

 

There is lot of functionality integrated around these four properties.

   Min. Ownerships [% or Number]
   Max. Ownerships [% or Number]
   Max Actors Required For Checklist Completion [% or Number]
   Min Actors Required For Checklist Completion [% or Number]

 

These properties enable the Human activities to work with different permutation combinations which can come across in a business process. If you come across this issue again we can do a deep dive to check the settings and Db entries.

 

Regards,

Moderator

Post #285
Posted Friday, January 11, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, March 05, 2008
Posts: 80, Visits: 277


I was only going to change every action that made sense, but thanks for the warning.

I'll let you know if this issue happens again.

Best regards,

Rui
Post #291
Posted Thursday, January 17, 2008