Workflow Advanced Step Update

posted Dec 19, 2018, 10:17 AM by Greg Kent   [ updated Dec 19, 2018, 12:24 PM ]
DecisionStep.cs has been updated so that Advanced Steps fully support async processing:
  • Advanced Steps where a Custom Query is specified
  • Advanced Steps where a Custom Query is specified and Batch is specified
By converting to async, this allows for the Method Signature of the Custom Query (DecisionStepTemplate.Method) to be invoked async. This also allows for batch steps to wire async.

Threading is now managed by using SemaphoreSlim class and a set number of threads must be specified. qbo.Decision settings has been extended to contain:

BatchStepTheadCount - Default thread count for processing advanced steps. Value is defaulted to 5 threads.

Comments