Using collections inside script task of a BPMN2 process throws "List cannot be resoled to a type" error

Solution Verified - Updated -

Issue

  • While trying to create a process having a Script Task that uses a List type causes the error List cannot be resoled to a type.
List<java.lang.String> var1 = new ArrayList<String>()
  • This issue also takes place if using any other java Collection types. How to add java collection type in my process?

Environment

  • Red Hat JBoss BPM Suite (BPMS)
    • 6.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content