RITM Stops Loading/Max Activity History?

richelle_pivec
Mega Guru

I have an RITM that has been used as a project, so there are 90 tasks on it. This morning is Go-Live for the project, so a couple of user's have tried to Complete their Tasks only to find that the task form is not loading properly. I looked into it and can see that (in fact) the RITM form is not loading properly (the left half loads, but the right does not...all of the work notes are loading as well). I checked to see if a business rule/client script/ui policy is failing, but they all seem to be running correctly.

I then checked the history of the workflow. There are only 8 Activities, but, because of the (many) manual tasks and work notes the Workflow Activity History is now at 2,536. I can see that the Max activity count is set for 100. I have also checked other RITMs that are set at 100 and their Workflow Activity History has surpassed that (like 250ish), but they are still loading just fine. I'm wondering if some max history count has been reached? I did check with the owner of the ticket and she mentioned that she noticed this problem about 1 1/2 weeks ago. (No comment on her not mentioning it until Go-Live day. No comment at all.) So, I wonder if maybe 2500 was a hard stop?

So, is it just broken and can't be fixed because it hit the max? I can manually close the tasks as they need to be closed, but there are still 51 of them open. Is there a way for me to get this RITM back on track?

thanks,

Richelle

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

Hi Richelle,



It sounds like you hit the max activity count on that workflow and didn't notice it for a while. I've had that happen. I recommend adjusting it (perhaps 200 or 500), don't go crazy - remember, there's a limit for a reason (usually resource/performance.) Unfortunately, there is nothing you can do about existing workflow contexts that are running. You can only impact new ones going forward.



Since learning about that limit, I always check it for new workflows i create (especially those with a rollback.)


View solution in original post

3 REPLIES 3

Chuck Tomasi
Tera Patron

Hi Richelle,



It sounds like you hit the max activity count on that workflow and didn't notice it for a while. I've had that happen. I recommend adjusting it (perhaps 200 or 500), don't go crazy - remember, there's a limit for a reason (usually resource/performance.) Unfortunately, there is nothing you can do about existing workflow contexts that are running. You can only impact new ones going forward.



Since learning about that limit, I always check it for new workflows i create (especially those with a rollback.)


So, if I up the Max from 100 to 200 or 500 will that allow the Workflow Activity History to go higher than 2500? Or is this just one of those things that could have stopped at any time? Is it counting certain types of items in the Workflow Activity History towards the max?


I think all of my workflows are set to 100, except maybe the New Login one...I seem to remember having to adjust that one last year sometime.



Sounds like I have a lot of fun manual task closing ahead of me. Good times.


I would check the Log related list for the active context you are running to see where/why it may have stopped. If you go to Workflow> Live Workflows> Active Contexts and locate and option the record associated with your request item, you'll see a Log related list. Lots of good information in there.



As for counting, every time it hits an activity on the workflow, the count goes up (Begin is #1). Since workflows are like scripts in a sense, it's possible to write an infinite loop. This limit gives the system a chance to break out of the loop.