Posted Thu, 10 Feb 2022 08:35:47 GMT by Winston Ong Solutions Consultant
Hi there,

Is it possible to return the result entries count from a List? We would like to use it for a condition in the workflow activity.

Please refer to the attached screenshot. In this example, we would like to grab the no. of entries, which is value "17".

Thank you.
Posted Thu, 10 Feb 2022 08:41:04 GMT by Winston Ong Solutions Consultant
We are on DocuWare Cloud 7.5
Posted Fri, 11 Feb 2022 12:30:47 GMT by Fabian Kall
A bit of a workaround, but:<br> <br> you could use a global variable of type keyword, then fill that in a data assignment with some unique value of the documents in the list by using the same query logic that the list uses, for instance, fill it with the DocIDs.<br> Then use the count property of that keyword variable to get the number of entries.<br> <br> However, this will be a moment-in-time count, so if you need the count in multiple stages of your workflow, you may need to do the same thing each time, and you will need to update workflow whenever you change the query logic in the list.<br> &nbsp;

You must be signed in to post in this forum.