# How to use Gen AI Connect Rule to analyze case data and decide routing or skipping stage based?

**URL:** <https://forums.pega.com/t/how-to-use-gen-ai-connect-rule-to-analyze-case-data-and-decide-routing-or-skipping-stage-based/13905>\
**Category:** General\
**Created:** [October 30, 2026, 9:00am UTC](https://forums.pega.com/t/how-to-use-gen-ai-connect-rule-to-analyze-case-data-and-decide-routing-or-skipping-stage-based/13905 "2026-10-30T09:00:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MohammedS17644256](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@MohammedS17644256](https://forums.pega.com/u/MohammedS17644256)\
**Post date:** [October 30, 2026, 9:00am UTC](https://forums.pega.com/t/how-to-use-gen-ai-connect-rule-to-analyze-case-data-and-decide-routing-or-skipping-stage-based/13905/1 "2026-10-30T09:00:25Z")

</div>

i have a scenario where I am entering certain fields of data and based on the data i want Gen AI Connect rule to change the case flow to direct settlement or hit the manual Approve/Reject step ?

---

<div class="post-metadata">

**Author:** ![JayachandraSiddipeta](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/jayachandrasiddipeta/32/23334_2.png) [@JayachandraSiddipeta](https://forums.pega.com/u/JayachandraSiddipeta)\
**Post date:** [October 31, 2026, 4:14pm UTC](https://forums.pega.com/t/how-to-use-gen-ai-connect-rule-to-analyze-case-data-and-decide-routing-or-skipping-stage-based/13905/2 "2026-10-31T16:14:28Z")

</div>

Hello @MohammedS17644256

GenAI Connect rule works primarily to assess the input you have given based on the prompts and attachments you have provided and returns or maps the output as structured or unstructured.

If you expect perform assignment actions on the case based on AI decisioning, then you can opt to use agent rules by providing necessary tools to it.

Hope this helps

Regards

JC

---

<div class="post-metadata">

**Author:** ![MohammedS17644256](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@MohammedS17644256](https://forums.pega.com/u/MohammedS17644256)\
**Post date:** [November 3, 2026, 8:23pm UTC](https://forums.pega.com/t/how-to-use-gen-ai-connect-rule-to-analyze-case-data-and-decide-routing-or-skipping-stage-based/13905/3 "2026-11-03T20:23:25Z")

</div>

26.1.1  
i do not see the option to include documents attachments for ai assessment. Doc AI Connect Rule is flow rule but it is doing Async Processing. I want Synchronous processing.

 ![image](https://pega1.discourse-cdn.com/pega/original/3X/f/d/fdff9369aea5566eb58faf373c73d971214b847f.png)

---

<div class="post-metadata">

**Author:** ![JayachandraSiddipeta](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/jayachandrasiddipeta/32/23334_2.png) [@JayachandraSiddipeta](https://forums.pega.com/u/JayachandraSiddipeta)\
**Post date:** [November 4, 2026, 3:56am UTC](https://forums.pega.com/t/how-to-use-gen-ai-connect-rule-to-analyze-case-data-and-decide-routing-or-skipping-stage-based/13905/4 "2026-11-04T03:56:39Z")

</div>

Hello @MohammedS17644256

Please refer to the below post for the same topic for more details

> [@Issues with OCR and Document Extraction in Pega 26 Community Edition](https://forums.pega.com/t/issues-with-ocr-and-document-extraction-in-pega-26-community-edition/13892):
>
> We are exploring the OCR and document extraction capabilities in Pega 26 Community Edition and have encountered a few issues. I would appreciate any guidance on whether these features are supported in the Community Edition and how to configure them correctly. 1. DocAI Connect – OCR Configuration and Property Mapping Initially, I configured DocAI Connect and enabled OCR. However, when testing the configuration, I received the following error: “Request failed. Extraction service base URL is not …

Regards

JC
