IBM Support

RS03168: IN CONDITION IN RULES CAUSE DEPLOYMENT PROBLEM

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If the BOM element has a method return a string array, and has
    an arg that is a set, and defined as a string domain, and this
    method is used in a rule condition, the building of the ruleset
    will fail with following errors:
    Must be an Iterable, an Array, or an Enumeration
    In 'test rule 1' rule condition, at offset 46, and length 51
    GBRED0023E: A value of type 'java.lang.String[]#0, +oo of
    java.lang.String' cannot be used as an 'in' generator
    
    at
    ilog.rules.util.issue.IlrDefaultIssueHandler.throwException(IlrD
    efaultIssueHandler.java:82)
    at
    com.ibm.rules.engine.ruledef.compilation.AbstractEngineCompiler.
    checkErrors(AbstractEngineCompiler.java:67)
    at
    com.ibm.rules.engine.ruleflow.migration.compilation.SemMigration
    RuleflowCompilerImpl.compile(SemMigrationRuleflowCompilerImpl.ja
    va:59)
    at
    com.ibm.rules.brl.code.compiler.rve.EngineOutlineBuilder.buildEn
    gineOutline(EngineOutlineBuilder.java:78)
    at
    com.ibm.rules.studio.rve.builder.RVERulesetArchiveExporter.expor
    t(RVERulesetArchiveExporter.java:347)
    at
    com.ibm.rules.studio.decisionservice.SDsRVERulesetArchiveExporte
    r.export(SDsRVERulesetArchiveExporter.java:134)
    at
    ilog.rules.studio.model.archive.internal.RulesetArchiveExportJob
    .run(RulesetArchiveExportJob.java:65)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    

Local fix

  • Remove the domain definition for the arg in the method
    mentioed.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * User executing the rules                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Rules that included an 'in' operator cause a deployment      *
    * issue.                                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The code was fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS03168

  • Reported component name

    WDS FOR RULES

  • Reported component ID

    5725B6903

  • Reported release

    881

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-08-21

  • Closed date

    2018-10-09

  • Last modified date

    2018-10-09

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WDS FOR RULES

  • Fixed component ID

    5725B6903

Applicable component levels

  • R881 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSQP76","label":"IBM Decision Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"881","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022