The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now!
A chart showing the TIBCO Platform vision
Jump to content
Forums
Ask questions and gain insight from discussions

Scribe Online - Query or Lookup block filters


Stephen Outram

Recommended Posts

Hello,

I'd like to filter a query or lookup block to return only 5 item-types, using the field itemID.

It appears the connector (Netsuite) doesn't allow multiple filters using the same operator, for example

this works:

ItemID equals 169164

this creates an error:

ItemID equals 169164 OR

ItemID equals 112263

Error " The supported query complexity has been exceeded. A field can be used only once."

So, is it possible to make something like this work

ItemID equals 169164 || 112263 || 125295 || 125820 || 169162

With this one I get a boolean value error

Error " Object of type 'System.Boolean' cannot be converted to type 'System.String'. "

Have tried:

TOSTRING(169164 || 112263 || 125295 || 125820 || 169162)

but get the same boolean error as above.

I'd really appreciate assistance with this.

Thank you,

Stephen

Link to comment
Share on other sites

Hi Stephen,

In TCI Scribe you can start a map with a Query that cycles thru a list of itemids,

it will read the itemids one at a time, you could then add an IF Block in your Scribe map,

this does work with OR and AND (to filter the 5 itemids) since it is filtered within Scribe not netsuite.

 

Similarly you could design a map with a different query input from let's say a csv text file

but can use a Fetch block or Lookup block within an IF Block(filtered with the itemids) to only lookup or Fetch the itemid's that you are interested in.

 

Hope this helps.

Link to comment
Share on other sites

Thank you Ash,

"... start a map with a Query that cycles thru a list of itemids ..."

This would be perfect, and how would I begin that The maps I'm working with begin with a query block, which appears to have limited filtering. Can I begin a query stack differently

 

And yes to lookup and fetch, though they are placed down the stack, and I was hoping to filter at the top of query.

Many thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...