Post date: Dec 19, 2018 6:1:54 PM
The following QBO3 ITemplate method signatures have been extended:
CreateInstance(GenericObject parent, IDictionary<string, object> parameters)
CreateInstanceAsync(GenericObject parent, IDictionary<string, object> parameters)
Both have been extended to include a Parent parameter that allows for accessibility to the Parent for optional actions.
This is a breaking change: All classes that implement ITemplate must be re-complied against this change to work. Do not deploy qbo.Application.dll without also deploying all other modules.
All modules that implement ITemplate have been updated.
The first use case was a bug fix in DecisionTemplate to address stalled workflows:
DecisionStep/StartTemplateAsync launches a Decision
Child Decision processing and completing before the parent DecsionStep could be properly bound
DecisionTemplate/CreateTemplateAsync was extended to persist information to the Parent to ensure bindings were in place before the child Decision processed