We have a task flow say "CreateA". When the parameters are passed to this task flow, it will create some document.
Now, this taskflow can be consumed by many teams i.e., when user clicks on "Add" button in the consumer page, this taskflow should be invoked and create window is shown as a popup.
Is there any way to invoke this taskflow dynamically when the "Add" button is clicked, without including this "CreateA" taskflow as a region in the consumer code?
The standard way is to create a contextual event, but for this we need to include the taskflow in the consuming page as a region. I am looking for any alternative and better way that can do the work without directly including the taskflow as a region.