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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.