{"id":193194,"date":"2026-09-03T11:56:54","date_gmt":"2026-09-03T02:56:54","guid":{"rendered":"https:\/\/support.questetra.com\/?p=193194"},"modified":"2026-09-03T11:57:03","modified_gmt":"2026-09-03T02:57:03","slug":"processing-slows-after-bulk-case-launch","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/faq\/processing-slows-after-bulk-case-launch\/","title":{"rendered":"Automated Processing and Task Arrival Slowed Down after Launching a Large Number of Cases"},"content":{"rendered":"<dl>\n<dt>Question.<\/dt>\n<dd>\n<p>After automatically launching a large number of cases that include automated steps, the completion of subsequent automated processing and the arrival of tasks have become slow.<\/p>\n<\/dd>\n<dt>Answer.<\/dt>\n<dd>\n<p>The workflow engine is in a backlogged state. There are too many active tokens, causing the internal processing queue to build up.<\/p>\n<\/dd>\n<\/dl>\n<p>When a case is launched, the token on the workflow advances through each step in order. The job queue within the workflow engine executes the following processes sequentially:<\/p>\n<ul>\n<li data-list-item-id=\"ef58b6c382deffc4346f827998eaac86e\">Token movement processing<\/li>\n<li data-list-item-id=\"e653b2846f1ac09461a41f3d3d6f05f50\">Execution of automated steps<\/li>\n<li data-list-item-id=\"e7e5887132e0a47af15279f7e7217004e\">Task assignment and offer processing in Human Task steps<\/li>\n<\/ul>\n<p>This job queue is not observable by users. When a large number of cases are launched simultaneously, these processes accumulate in the queue in large volumes, and the wait time before each one is executed becomes longer. The impact affects not only the launched cases but all users on the same environment.<\/p>\n<p>Particular caution is needed for Workflow Apps that contain many automated steps or OR\/AND gateways. Human Tasks naturally limit the load on the queue because tokens stop until the assignee processes them. On the other hand, automated steps execute continuously without the token stopping. Furthermore, when OR\/AND gateways are involved, tokens multiply, further increasing the load.<\/p>\n<p>To resolve this situation, you need to\u00a0<strong>reduce the number of active tokens<\/strong>. By force-terminating unnecessary cases, the load on the processing queue is reduced, and the processing speed of the remaining cases will recover.<\/p>\n<p>As a preventive measure going forward, when launching a large number of cases for such Workflow Apps, limit the number of cases launched at one time. It is recommended to pace the launches so that a large number of in-progress cases do not accumulate.<\/p>\n<div class=\"well\">\n<p><strong>The method of launching does not matter.<\/strong>\u00a0This phenomenon is not limited to launches via HTTP requests or REST API. It\u00a0<strong>occurs regardless of how the cases are launched in bulk<\/strong>, whether manually, by email reception, by timer, or by any other method. The cause is not the launch method but the simultaneous increase in active tokens that causes the job queue to build up.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Question. After automatically launching a large number of cases that include automated steps, the completion of subsequent automated processing and the arrival of tasks have become slow. Answer. The workflow engine is in a backlogged state. There are too many active tokens, causing the internal processing queue to build up. When a case is launched, [&hellip;]<\/p>\n","protected":false},"author":32,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"single-faq","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[5695],"tags":[],"faq_section":[5702],"class_list":["post-193194","post","type-post","status-publish","format-standard","hentry","category-faq","faq_section-system-administrator"],"jetpack_publicize_connections":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"newspack-article-block-landscape-large":false,"newspack-article-block-portrait-large":false,"newspack-article-block-square-large":false,"newspack-article-block-landscape-medium":false,"newspack-article-block-portrait-medium":false,"newspack-article-block-square-medium":false,"newspack-article-block-landscape-intermediate":false,"newspack-article-block-portrait-intermediate":false,"newspack-article-block-square-intermediate":false,"newspack-article-block-landscape-small":false,"newspack-article-block-portrait-small":false,"newspack-article-block-square-small":false,"newspack-article-block-landscape-tiny":false,"newspack-article-block-portrait-tiny":false,"newspack-article-block-square-tiny":false,"newspack-article-block-uncropped":false},"uagb_author_info":{"display_name":"Kitao","author_link":"https:\/\/support.questetra.com\/en\/author\/kitao\/"},"uagb_comment_info":0,"uagb_excerpt":"Question. After automatically launching a large number of cases that include automated steps, the completion of subsequent automated processing and the arrival of tasks have become slow. Answer. The workflow engine is in a backlogged state. There are too many active tokens, causing the internal processing queue to build up. When a case is launched,&hellip;","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-Og2","jetpack-related-posts":[{"id":70539,"url":"https:\/\/support.questetra.com\/en\/developer-blog\/twilio-sms-add-on\/","url_meta":{"origin":193194,"position":0},"title":"Sending a Text Message in the Middle of Workflow Using SMS &#8211; Service Task Add-on version","author":"HatanakaAkihiro","date":"2018-08-13","format":false,"excerpt":"With Questetra BPM Suite, you can extract the processing that is done in a Script Task as a unique automated Step. In the previous blog post, I made the processing part for SMS transmission using Twilio's API into a Script Task. I would like to remake that part into a\u2026","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/ja\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/08\/twilio-sms-add-on-1200x675-1.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/08\/twilio-sms-add-on-1200x675-1.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/08\/twilio-sms-add-on-1200x675-1.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/08\/twilio-sms-add-on-1200x675-1.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/08\/twilio-sms-add-on-1200x675-1.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":76473,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/script-task\/","url_meta":{"origin":193194,"position":1},"title":"Script Task","author":"Hirotaka NISHI","date":"2019-04-25","format":false,"excerpt":"Executes ECMAScript (program) on the server side and updates business data automatically. Capable for more complex processing than [Update Data] such as conditional branching and repetition processing, HTTP communication with the outside, email transmission, etc.","rel":"","context":"In &quot;BPMN\u30a2\u30a4\u30b3\u30f3&quot;","block_context":{"text":"BPMN\u30a2\u30a4\u30b3\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-script-task-1200x675.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-script-task-1200x675.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-script-task-1200x675.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-script-task-1200x675.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-script-task-1200x675.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":94002,"url":"https:\/\/support.questetra.com\/en\/incident\/bug-20200826\/","url_meta":{"origin":193194,"position":2},"title":"Operable Tasks may Remain despite the Process has been Finished (Fixed)","author":"Hirotaka NISHI","date":"2020-08-26","format":false,"excerpt":"Fixed Version: Ver. 12.2.0","rel":"","context":"In &quot;Incident Info&quot;","block_context":{"text":"Incident Info","link":"https:\/\/support.questetra.com\/en\/category\/incident\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/bug-report-en-1200x675-1.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/bug-report-en-1200x675-1.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/bug-report-en-1200x675-1.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/bug-report-en-1200x675-1.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/bug-report-en-1200x675-1.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":87741,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/service-task-throwing-message-to-start-event\/","url_meta":{"origin":193194,"position":3},"title":"Service Task (Start Child Case)","author":"Peter Glover","date":"2023-04-19","format":false,"excerpt":"An automatic step that sends an HTTP request to Message Start Event (HTTP) on the same workflow platform. You can easily establish an inter-app connection simply by setting the send data. When a workflow App including Message Start Event (HTTP) is released, the corresponding Service Task is automatically generated.","rel":"","context":"In &quot;BPMN\u30a2\u30a4\u30b3\u30f3&quot;","block_context":{"text":"BPMN\u30a2\u30a4\u30b3\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/05\/bpmn-icon-service-task-throwing-message-to-start-event.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/05\/bpmn-icon-service-task-throwing-message-to-start-event.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/05\/bpmn-icon-service-task-throwing-message-to-start-event.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/05\/bpmn-icon-service-task-throwing-message-to-start-event.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/05\/bpmn-icon-service-task-throwing-message-to-start-event.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":94108,"url":"https:\/\/support.questetra.com\/en\/developer-blog\/app-case-task\/","url_meta":{"origin":193194,"position":4},"title":"Apps, Cases, Tasks and their Relationships","author":"Peter Glover","date":"2020-10-30","format":false,"excerpt":"Describes Workflow Apps, Cases, Tasks and their Relationships","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/en\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/workflow-apps-cases-tasks-fi-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/workflow-apps-cases-tasks-fi-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/workflow-apps-cases-tasks-fi-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/workflow-apps-cases-tasks-fi-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/workflow-apps-cases-tasks-fi-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":70260,"url":"https:\/\/support.questetra.com\/en\/developer-blog\/bpms-parent-child-workflows\/","url_meta":{"origin":193194,"position":5},"title":"How to Create a Good Parent-Child Workflow","author":"furuzo","date":"2018-07-17","format":false,"excerpt":"I will show you how to launch child Workflows from a parent Workflow, and advance the parent Workflow according to the situation in child Workflow.","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/en\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/07\/parent-child-workflows-1200x675-1.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/07\/parent-child-workflows-1200x675-1.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/07\/parent-child-workflows-1200x675-1.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/07\/parent-child-workflows-1200x675-1.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/07\/parent-child-workflows-1200x675-1.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/193194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=193194"}],"version-history":[{"count":1,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/193194\/revisions"}],"predecessor-version":[{"id":194591,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/193194\/revisions\/194591"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=193194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=193194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=193194"},{"taxonomy":"faq_section","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/faq_section?post=193194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}