| | | Supreme 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
|
| | | | Supreme 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 |
| | | | Supreme 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 |
| | | | Supreme 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 |
| | | | Supreme 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 |
| | | | Supreme 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 |
| | | | Supreme 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
|
| | | | Supreme 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 |
| | | | Supreme 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 |
| | | | | |
|