How to assert a list contains element as part of BPMS test scenario?

Solution Unverified - Updated -

Issue

We are writing a test scenario for a rule that adds a certain string ("TEST") to a list on a fact.Rule is firing, but we cannot seem to assert that the fact's list contains the string "TEST". When adding a new expected condition, we choose the fact and the list field. The only operators available to us are the 'equals' and 'not equals' for literal values.

How can we assert that the fact's list contains the string "TEST"?

Environment

  • Red Hat JBoss BPM Suite
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In