Quantcast
Channel: configuration - Forum - FlexGet
Viewing all articles
Browse latest Browse all 716

Multiple other_fields with multiple regex?

$
0
0

@Chryses wrote:

Hi, I'm trying to make a simple thing but seem to be impossible!!!!

I want to import 2 custom field
other_fields: [downloadvolumefactor]
other_fields: [uploadvolumefactor]

But each time seems that only the last other_fields are considered.

downloadvolumefactor can be
0
0.25
0.5
0.75
1

uploadvolumefactor can be
2
1

So my idea is to accept all the downloadvolumefactor, till here no problem
regexp:
accept:
- '^0$': { from: downloadvolumefactor }
or
if:
- "downloadvolumefactor == '0'": accept

The next level is to accept all uploadvolumefactor 2 but only if downloadvolumefactor is lover than 0.5

So I'm trying to make it work but I can't find a solution.

How can I make it work?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles