how to calculate the length of the queryparameter?

Not applicable

calculate the length of the queryparameter example request.queryparam.name is abc I want to get the length of name parameter how do i do that?

Solved Solved
0 5 980
1 ACCEPTED SOLUTION

@Meghana T R , Please use Javascript Policy.

View solution in original post

5 REPLIES 5

@Meghana T R , Please use Javascript Policy.

Thanks @Anil Sagar I was trying to implement in condition itself without using the policy

@Meghana T R , You cannot do any computational logic like finding a length of string on conditions. Please use JavaScript / Java / Python policies. We don't support length of query param value in flow variables as of today.

@Anil Sagar okay thank you 🙂

Can you tell us more about what you want to do with the length of the queryparam? Is this just a basic validation check?