Skip to main content
Nintex Community Menu Bar

Get process instance by folio

  • November 10, 2022
  • 1 reply
  • 28 views

Forum|alt.badge.img+3

At runtime, I need to be able to check if a process instance is active with a specific folio (not necessarily assigned to the current user). At minimum, a true/false response is enough. Is there a way I can query for this in an efficient manner using system smartobjects?

 

Note: Calling a list method to return all process instances for a workflow and filtering is not an option since this specific workflow would have thousands of active instances and filtering on the result set is very inefficient.

1 reply

Forum|alt.badge.img+15
  • Scholar
  • November 10, 2022
There is a SmartObject under Workflow Reports -> Workflow General -> Process Instance that has a "List" method with a Folio parameter. If you specify the folio as a parameter (and not a filter) it should be pretty efficient. Please let me know if that ends up not being the case