Skip to main content
Question

TX Rest Dynamic value Endpoint query


Forum|alt.badge.img

I'm using dynamic values function in the TX REST connector 9.1.0.0. I use id's from another endpoint to loop through in my second endpoint path. This works well when I use “From Endpoint Table” but now I want to add a filter to only get the id's with a flag “hasresponse=true”.

I've read the page 

but I still get an error with my Endpoint query. “No such table” the error message says.

 

I've tried several things like adding a schema. But all with the same response. Is there something wrong with my syntax?

Error:

 

11 replies

Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1070 replies
  • April 10, 2025

Hi ​@juriaan.hensbroek 

Does it behave differently if it is without a where clause?


Forum|alt.badge.img

@Thomas Lind No it's the same (No such table error). I tried several things like:

FROM [Trigion_01_RespondentList]

FROM [Trigion_01_RespondentList].[Trigion_01_RespondentList]

FROM [REST].[Trigion_01_RespondentList]

All with and without square brackets...


Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1070 replies
  • April 28, 2025

Hi ​@juriaan.hensbroek 

I tried it out. I did not use a endpoint with a complicated name it is just one sentence.

I use Graph API and my Users endpoint to pull the id field.

This worked, the table in the store is also called Users, so it may be part of it.

Does the name have blank spaces instead of _ in any of the versions that exist of this table?

You are using table flattening as well, right?


Christian Hauggaard
Community Manager
Forum|alt.badge.img+5

Hi ​@juriaan.hensbroek do you have an update to Thomas’ questions above?


Forum|alt.badge.img

Hi Thomas,

Yes I use table flattening. The (flattened) table in which I retrieve the id's is called Trigion_01_RespondentList. I could select them from the dropdown menu. Also if I use a shorter name for the respondentlist table, without underscores, I get the same error.

Regards,

Juriaan


Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1070 replies
  • May 6, 2025

Hi ​@juriaan.hensbroek 

Do you still use the where clause, or is it only select id from Trigion_01_RespondentList that is your query?

Also I don’t use any new line commands it is just one row. I don’t know if it has issues with that.

It may read it as select idfrom Trigion_01_RespondentList if that is the case.


Forum|alt.badge.img

No where clause, no empty space after the query. Putting it on 1 line doesn't make a difference.

 

 


  • Contributor
  • 37 replies
  • May 12, 2025

@juriaan.hensbroek i had the same issue, but when i use the ‘From Endpoint Table’ option, it works as intended:
 

In this data source i use it to get members from Azure AD Groups


Forum|alt.badge.img

Hi ​@JogchumSiR , this works for me as well. This was my base version. In my improved version I'd like to filter upfront the userlist. For your example it could be all AD users from the Sales department. Just for example. That is why I'm trying to use the query function.

In my case the userlist is a list of all recipients we did sent an survey to. This same list has a boolean flag which shows which users responded. In my second API call I need to loop through all recipient id's which have responded to the survey.


Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1070 replies
  • May 13, 2025

Hi ​@juriaan.hensbroek 

In my setup I use the following endpoint path.

groups/{id}/members/microsoft.graph.user

I found that it would only return users and not other types with this added.

Perhaps that could be a workaround.


Forum|alt.badge.img

@Thomas Lind this wouldn't work for me. The “responses” endpoint call seems correct, I only wish to filter the id's from endpoint 1 “respondentlist” upfront before making the “responses” endpoint call.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings