Mike,
Thank you for the thoughts on this. I just couldn’t understand why the WHEN returns so quickly and the THEN drags on the script. I will look into the JIRA and provide a good example, including the jar if needed.
Thanks
Dean
From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Michael Anstis
Sent: Tuesday, February 01, 2011 12:03 PM
To: Rules Users List
Subject: Re: [rules-users] Guvnor - Limitation for number of classes or fields?
Hi Dean,
This problem is usually caused by *any* client-side script triggering a synchronous server round-trip that takes a long time to return and the browser suspects the script has hung.
I suspect the implementation of "THEN" doesn't expect large models and the operation is taking a long time to return.
My advice would be to raise a JIRA recording the issue with, ideally, a test-case demonstrating the problem.
With kind regards,
Mike
2011/2/1 Dean Whisnant <dean@basys.com>
I submitted this before, but perhaps I didn’t word my question well.
Does anyone else have issues with Guvnor throwing a “script is taking too long” when hitting the plus sign next to the THEN statement? I’ve had the issue in both IE and Firefox, but Safari doesn’t give me any issues and is snappy.
I have 263 class files in my package with a total of 2600+ fields.
Is this a limitation of Guvnor? Could there be something in my object model (.jar file) that when it’s uploaded causes this?
Any help is appreciated,
Dean
From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Dean Whisnant
Sent: Wednesday, January 05, 2011 12:48 PM
To: Rules Users List
Subject: [rules-users] Guvnor - Limitation for number of classes or fields?
My class model contains in the neighborhood of 2,400 fields which we have broken down into the imported classes below. The breakdown is based upon repeatable loops within an EDI transaction. This allows our users to first select the LOOP (or class from below) and then choose from a smaller number of fields when building their rules.
When creating a rule in Guvnor, the WHEN class/field choosers work very quickly. But then when you do the THEN side, a message pops up saying that A Script on the page is causing the web browser to run slowly. You have to answer NO to this question approximately 3 times before it then brings up the “add new action” dialog. The field chooser then works fine, though you get the script message again when you go to add another action.
Is there a limitation to Guvnor for the number of classes or fields in the model? Is there a memory setting that needs to be configured differently?
Thank you in advance!
Dean
import com.hipaa837p.Loop2420B_Segment_REF
import com.hipaa837p.Loop2420D_Segment_REF
import com.hipaa837p.Loop2330B_Segment_DTP
import com.hipaa837p.Loop2010CA_Segment_NM1
import com.hipaa837p.Loop2010BA_Segment_NM1
import com.hipaa837p.Loop2400_Segment_K3
import com.hipaa837p.Loop2300_Segment_SV5
import com.hipaa837p.Loop2330C_Segment_REF
import com.hipaa837p.Loop2400_Segment_HCP
import com.hipaa837p.Loop2300_Segment_SV1
import com.hipaa837p.Loop2400_Segment_SV1
import com.hipaa837p.Loop2400_Segment_DTP
import com.hipaa837p.Loop2000B_Segment_SBR
import com.hipaa837p.Loop2300_Segment_QTY
import com.hipaa837p.Loop2420H_Segment_N4
import com.hipaa837p.Loop2310E_Segment_NM1
import com.hipaa837p.Loop2010CA_Segment_REF
import com.hipaa837p.Loop2400_Segment_CR3
import com.hipaa837p.TransactionTrailer_Segment_SE
import com.hipaa837p.Loop2310A_Segment_NM1
import com.hipaa837p.Loop2420H_Segment_N3
import com.hipaa837p.Loop2400_Segment_CR1
import com.hipaa837p.Loop2400_Segment_PWK
import com.hipaa837p.Loop2300_Segment_CRC
import com.hipaa837p.Loop2420G_Segment_NM1
import com.hipaa837p.Loop2010BB_Segment_NM1
import com.hipaa837p.Loop2300_Segment_SBR
import com.hipaa837p.Loop2410_Segment_CTP
import com.hipaa837p.Loop2320_Segment_AMT
import com.hipaa837p.Loop2010AA_Segment_REF
import com.hipaa837p.Loop2420C_Segment_N3
import com.hipaa837p.Loop2310B_Segment_PRV
import com.hipaa837p.Loop2420E_Segment_PER
import com.hipaa837p.Loop2420C_Segment_N4
import com.hipaa837p.Loop2330F_Segment_REF
import com.hipaa837p.Loop2310C_Segment_PER
import com.hipaa837p.Loop2420F_Segment_NM1
import com.hipaa837p.Loop2330D_Segment_REF
import com.hipaa837p.Loop2300_Segment_PAT
import com.hipaa837p.Loop2300_Segment_AMT
import com.hipaa837p.Loop2010AC_Segment_N3
import com.hipaa837p.Loop2300_Segment_CUR
import com.hipaa837p.Loop2420G_Segment_N4
import com.hipaa837p.Loop2420G_Segment_N3
import com.hipaa837p.Loop2010AC_Segment_N4
import com.hipaa837p.Loop2320_Segment_MOA
import com.hipaa837p.Loop2310E_Segment_N3
import com.hipaa837p.Loop2300_Segment_FRM
import com.hipaa837p.Loop2300_Segment_CN1
import com.hipaa837p.Loop2310E_Segment_N4
import com.hipaa837p.Loop2330A_Segment_REF
import com.hipaa837p.Loop2010AC_Segment_NM1
import com.hipaa837p.Loop2420H_Segment_NM1
import com.hipaa837p.Loop2310D_Segment_NM1
import com.hipaa837p.Loop2300_Segment_PRV
import com.hipaa.CLM_PendInformation
import com.hipaa837p.Loop2400_Segment_CRC
import com.hipaa837p.Loop2010AA_Segment_PER
import com.hipaa837p.Loop2000A_Segment_CUR
import com.hipaa837p.Loop2310C_Segment_NM1
import com.hipaa837p.Loop2000A_Segment_PRV
import com.hipaa837p.Loop1000B_Segment_NM1
import com.hipaa837p.Loop2000B_Segment_HL
import com.hipaa837p.Loop2300_Segment_MEA
import com.hipaa837p.Loop2410_Segment_LIN
import com.hipaa837p.Loop2330F_Segment_NM1
import com.hipaa837p.Loop2300_Segment_DMG
import com.hipaa837p.Loop2330E_Segment_REF
import com.hipaa837p.Loop2300_Segment_CTP
import com.hipaa837p.Loop2300_Segment_DTP
import com.hipaa837p.Loop2010AA_Segment_N3
import com.hipaa837p.Loop2300_Segment_LIN
import com.hipaa837p.Loop2010AA_Segment_N4
import com.hipaa837p.Loop2300_Segment_PS1
import com.hipaa837p.Loop2330C_Segment_NM1
import com.hipaa837p.Loop2300_Segment_CLM
import com.hipaa837p.Loop2400_Segment_SV5
import com.hipaa837p.Loop2420D_Segment_NM1
import com.hipaa837p.Loop2400_Segment_REF
import com.hipaa837p.Loop2330E_Segment_NM1
import com.hipaa837p.Loop2320_Segment_OI
import com.hipaa837p.Loop2420C_Segment_NM1
import com.hipaa837p.Loop2010BA_Segment_REF
import com.hipaa837p.Loop2400_Segment_QTY
import com.hipaa837p.Loop2300_Segment_SE
import com.hipaa837p.Loop2420A_Segment_REF
import com.hipaa837p.Loop2010BA_Segment_DMG
import com.hipaa837p.Loop2300_Segment_LX
import com.hipaa837p.Loop2010AB_Segment_NM1
import com.hipaa837p.Loop2300_Segment_LQ
import com.hipaa837p.Loop2430_Segment_SVD
import com.hipaa837p.Loop2000C_Segment_HL
import com.hipaa837p.Loop2000C_Segment_PAT
import com.hipaa837p.Loop2330B_Segment_REF
import com.hipaa837p.TransactionHeader_Segment_BHT
import com.hipaa837p.Loop2400_Segment_PS1
import com.hipaa837p.Loop2410_Segment_REF
import com.hipaa837p.TransactionHeader_Segment_ST
import com.hipaa837p.Loop2310A_Segment_REF
import com.hipaa837p.Loop2330G_Segment_REF
import com.hipaa837p.Loop2310B_Segment_REF
import com.hipaa.HipaaDroolsObject
import com.hipaa837p.Loop2310D_Segment_REF
import com.hipaa837p.Loop2420A_Segment_NM1
import com.hipaa837p.Loop2300_Segment_K3
import com.hipaa837p.Loop2300_Segment_N4
import com.hipaa837p.Loop2320_Segment_CAS
import com.hipaa837p.Loop2300_Segment_N3
import com.hipaa837p.Loop2330D_Segment_NM1
import com.hipaa837p.Loop1000A_Segment_PER
import com.hipaa837p.Loop2400_Segment_CN1
import com.hipaa837p.Loop2330A_Segment_N3
import com.hipaa837p.Loop1000A_Segment_NM1
import com.hipaa837p.Loop2330A_Segment_N4
import com.hipaa837p.Loop2330A_Segment_NM1
import com.hipaa837p.Loop2400_Segment_MEA
import com.hipaa837p.Loop2010BB_Segment_REF
import com.hipaa837p.Loop2310C_Segment_N3
import com.hipaa837p.Loop2310C_Segment_N4
import com.hipaa837p.Loop2000B_Segment_PAT
import com.hipaa837p.Loop2330G_Segment_NM1
import com.hipaa837p.Loop2430_Segment_CAS
import com.hipaa837p.Loop2010BA_Segment_PER
import com.hipaa837p.Loop2300_Segment_NM1
import com.hipaa837p.Loop2300_Segment_NTE
import com.hipaa837p.Loop2300_Segment_MOA
import com.hipaa837p.Loop2310C_Segment_REF
import com.hipaa837p.Loop2300_Segment_SVD
import com.hipaa837p.Loop2400_Segment_LX
import com.hipaa837p.Loop2420E_Segment_REF
import com.hipaa837p.Loop2310B_Segment_NM1
import com.hipaa837p.Loop2000A_Segment_HL
import com.hipaa837p.Loop2420C_Segment_REF
import com.hipaa837p.Loop2300_Segment_PWK
import com.hipaa.CLM_ClaimLineItem
import com.hipaa837p.Loop2300_Segment_CR1
import com.hipaa837p.Loop2420E_Segment_N4
import com.hipaa837p.Loop2420E_Segment_N3
import com.hipaa837p.Loop2010AB_Segment_N3
import com.hipaa837p.Loop2300_Segment_CR3
import com.hipaa837p.Loop2400_Segment_AMT
import com.hipaa837p.Loop2300_Segment_CR2
import com.hipaa837p.Loop2300_Segment_CAS
import com.hipaa837p.Loop2310F_Segment_N4
import com.hipaa837p.Loop2300_Segment_PER
import com.hipaa837p.Loop2010BA_Segment_N3
import com.hipaa837p.Loop2010BA_Segment_N4
import com.hipaa837p.Loop2310F_Segment_N3
import com.hipaa837p.Loop2010AB_Segment_N4
import com.hipaa837p.Loop2420B_Segment_NM1
import com.hipaa837p.Loop2330B_Segment_N3
import com.hipaa837p.Loop2330B_Segment_N4
import com.hipaa837p.Loop2010CA_Segment_N4
import com.hipaa837p.Loop2010CA_Segment_N3
import com.hipaa837p.Loop2320_Segment_SBR
import com.hipaa837p.Loop2010CA_Segment_PER
import com.hipaa837p.Loop2430_Segment_AMT
import com.hipaa837p.Loop2010BB_Segment_N4
import com.hipaa837p.Loop2420E_Segment_NM1
import com.hipaa837p.Loop2300_Segment_REF
import com.hipaa837p.Loop2420F_Segment_REF
import com.hipaa837p.Loop2010AC_Segment_REF
import com.hipaa837p.Loop2010BB_Segment_N3
import com.hipaa837p.Loop2330B_Segment_NM1
import com.hipaa837p.Loop2420A_Segment_PRV
import com.hipaa837p.Loop2430_Segment_DTP
import com.hipaa837p.Loop2010AA_Segment_NM1
import com.hipaa837p.Loop2010CA_Segment_DMG
import com.hipaa837p.Loop2300_Segment_HL
import com.hipaa837p.Loop2300_Segment_HI
import com.hipaa837p.Loop2400_Segment_NTE
import com.hipaa837p.Loop2300_Segment_OI
import com.hipaa837p.Loop2310F_Segment_NM1
import com.hipaa837p.Loop2300_Segment_HCP
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users