charlescd icon indicating copy to clipboard operation
charlescd copied to clipboard

Choose conditional and operator when create a segmentation by csv

Open barbararochazup opened this issue 3 years ago • 3 comments

Today when a segmentation with csv is created, by default, the conditional is Equals and the operator is Or:

image

Should be applicable give to the user the option to choose the conditional and operator that would like.

Maybe a new field Conditional and other Operator as Key field: image

#RelatedTo: https://forum.zup.com.br/t/utilizacao-da-condicional-contains-na-regra/83/4

barbararochazup avatar May 27 '21 20:05 barbararochazup

This issue is considered stale, please check if it will still be considered. If nothing is done, it will be closed in 7 days.

github-actions[bot] avatar Jun 27 '21 01:06 github-actions[bot]

@barbararochazup, tudo bem?

a ideia é que o csv fique dessa forma?

truckDriverId;EQUAL;123 truckDriverId2;GREATER_THAN;5512 truckDriverId3;GREATER_THAN_OR_EQUAL;1232133 truckDriverId4;LOWER_THAN;44612 truckDriverId5;STARTS_WITH;8123 truckDriverId6;NOT_EQUAL;8123 truckDriverId7;ENDS_WITH;8123 truckDriverId8;MATCHES;8123 truckDriverId9;MATCHES;8123 truckDriverId10;CONTAINS;8123 AND

truckDriverId;EQUAL;123 truckDriverId2;GREATER_THAN;5512 truckDriverId3;GREATER_THAN_OR_EQUAL;1232133 truckDriverId4;LOWER_THAN;44612 truckDriverId5;STARTS_WITH;8123 truckDriverId6;NOT_EQUAL;8123 truckDriverId7;ENDS_WITH;8123 truckDriverId8;MATCHES;8123 truckDriverId9;MATCHES;8123 truckDriverId10;CONTAINS;8123 OR

ou você tem alguma outra sugestão?

wfcosta avatar Aug 27 '21 01:08 wfcosta

Hi @wfcosta

I had thought otherwise, with a new field on UI (Screen) to indicate how conditional would be used.

So the CSV file would continue in the same format:

truckerDriverId 123 5512 8123

But your sugestion looks good!

barbararochazup avatar Sep 13 '21 12:09 barbararochazup