GrailsFlow

Support process variables with multiple values

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: 1.1
  • Component/s: None
  • Labels:
    None
  • Request Controller:
    Albers, Stephan
  • External Supervisor:
    Staskov, Ivan
  • Executing Programmer:
    Please select

Description

We need multi valued process variables in GrailsFlow. Values could be (ordered) lists or maps. Since we need to store the values in the DB and need to be able to create reports with the process variables, they have to be of type String.

Currently, we have to convert/serialize a Map/List to a single String and convert the String back to Map/List, which is to hard to do and not usable for the average process administrator.

(The example is wrong/not needed because this could be done with some explicit process variables)
Answer: it should be discussed.

class SupplierWorkflowProcess {
    public String classificationMapping1 = "value1"
    public String classificationMapping2 = "value2"
    public String classificationMapping3 = "value3"
    public String classificationMapping4 = "value4"
}

Change with

class SupplierWorkflowProcess {
    public List classificationMapping ={ "value1", "value2","value3","value4"}
}

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    18/Feb/10 1:06 PM
    Updated:
    31/Mar/10 8:07 AM