Ques adding the data but its take only limit

The field Reference must be a string with a maximum length of 128. Error code: 0 i am facing this issue.i am adding ques data it will take only128 cahrecters.i have input 800 mor the in excel singel cell. how to add in ques?

@Venky_Mama,

It’s the limit for queue item reference value length.

You will have limit your reference value to 128 characters.

You can use stringVariable.Substring method.

Thanks,
Ashok :slightly_smiling_face:

@Venky_Mama

Those are the limitations

  1. Either use a part of the string which is unique
  2. Instead of reference add it in sepecificcontent and use it …if you need to store it
  3. Use crypto activity and create a hashcode and then decrypt it at the destination to get the value

Cheers

give me exmaple substring code.i have try but not working

@Venky_Mama,

Use Substring like this to get only starting 128 characters.

strReference=strInput.Substring(0,128)

Output:
image

Sample Code:
Workflow.xaml (7.0 KB)

Thanks,
Ashok :slight_smile: