Skip to main content
Question

Strange issue with SQL query within workflows

  • November 12, 2024
  • 0 replies
  • 29 views

christopherlecky
Byte
Forum|alt.badge.img+17

When I run the following query in SQL it returns a single value that is an XML representation of the client list.

SELECT 
    [Client].[Id]           'ClientId',
    [Client].[name]         'ClientName',
    [Client].[net_hostname] 'ClientHostName'
FROM            
    [CommServ].[dbo].[APP_Client] AS [Client]    
WHERE
	[Client].[status] = 2
FOR XML RAW, ROOT('ClientInfo');

The goal is to use xpath to do queries against the list rather then doing constant queries.

 

The problem is that when I run it in a workflow it looks like it paginates the results so it returns multiple rows.

 

Is there another way to do this? 

 

0 replies

Be the first to reply!

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