Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2571

Dsl mapping fails during validation in Guided Rule Editor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 7.7.0.GA
    • Business Central
    • CR1
    • +
    • Hide
      1. Go to test project Traffic
      2. Add DSL asset in traffic package with following content:
        [when]There is a Person with age equals to {age}=p:Person(age == {age})
        
      3. Add Guided Rule asset and add a cause
        [when]There is a Person with age equals to {age}=p:Person(age == {age})
        
      4. Change value age to 10
      5. Press validate button
      6. Expected successfully passed validation
      Show
      Go to test project Traffic Add DSL asset in traffic package with following content: [when]There is a Person with age equals to {age}=p:Person(age == {age}) Add Guided Rule asset and add a cause [when]There is a Person with age equals to {age}=p:Person(age == {age}) Change value age to 10 Press validate button Expected successfully passed validation

    Description

      Dsl written expressions validation fails with errors:

      [KBase: kbase1]: [8] No mapping entries for expanding: 		There is a Person with age equals to 10
      [KBase: kbase1]: [8] Unable to expand: There is a Person with age equals to 10
      [KBase: kbase1]: [ERR 102] Line 8:8 mismatched input 'is' in rule "rule with DSL"
      [KBase: defaultKieBase]: [8] No mapping entries for expanding: 		There is a Person with age equals to 10
      [KBase: defaultKieBase]: [8] Unable to expand: There is a Person with age equals to 10
      

      Attachments

        Activity

          People

            gdonasci Gabriel do Nascimento Ribeiro (Inactive)
            adupliak Anna Dupliak
            Anna Dupliak Anna Dupliak
            Anna Dupliak Anna Dupliak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: