question

Prasad M. avatar image
Prasad M. asked ·

Request attribute getting truncated to 251 chars in purepath.

I am having a requirement to create a request attribute based on a java function which return a string. But in purepath its only showing first 251 characters only. Is there a way to increase this to 500 characters ?

purepathrequest attributes
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Julius L. avatar image
Julius L. answered ·

No, it is not. You will have to use two request attributes. One for capturing first 250 characters and the other to capture the rest.

4 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Thank you Julius. Is there way to get characters from 250 to 500 while creating Request attribute using a java method as given below.

0 Likes 0 · ·

Use the regex for that:

^.{250}(.{0,250})


If possible (not in this case probably, as the UI will not allow it), I'd use the construct

.substring(250,500)

in the deep object access.

1 Like 1 · ·

Thank you. Much appreciated !!!

0 Likes 0 · ·

Hi Prasad & Julius,
Has the RegEx worked for the two of you? I've tried it without any luck. Do you have any tips if you haven't gotten it to work for you?
Thanks!

0 Likes 0 · ·