Skip to main content
Nintex Community Menu Bar

I tried to initialize a collection variable in Nintex workflow

I set the value to

[{"Rating":""}]

When I publish the workflow I get the below error

TypeConverter cannot convert from System.String

Is the format incorrect?

 

@MichaelBraycarl ,

That default value format looks more like a dictionary than a collection.

Dictionary are not available in NWC.

https://help.nintex.com/en-US/nwc/Content/Designer/WorkflowVariables.htm#Data_types 

 

You could create a collection variable with no default value,

Then use an add item to collection operation to add a value into the collection

https://help.nintex.com/en-US/nwc/Content/Designer/Actions/Collection-AddItem.htm