Hello,
I have a moderately involved dialog workflow. I launch a child dialog if a certain condition evaluates to true. I have no difficulty passing input values to the child dialog......what I want is return values. See this dialog will NOT be updating any records and instead is purely for capturing some user input then returning those values back to the parent dialog flow.
I don't see an obvious way to do it?
So I have thought of some alternatives.
1. Instead of launching a child dialog just have a page nested in the conditional branch so that it shows if the conditions are met. This is OK but does not allow me to have the information gathering process available to other dialogs and that would be nice. Regardless this is my first choice.
2. Create a "temp" DataGathering entity, create a record, then exit. The parent workflow would then read this "temp" record and get the values needed. This allows my information gathering dialog to be available to other processes but seems like I'm using virtual duct tape and bailing wire.
3. Create a custom object that has properties to hold the gathered values. The child dialog would populate these properties and the parent would also have access to this object and thus the properties. This allows my information gathering dialog to be used by others. It is not as cobbled together as option 2...but custom code...really? I do have several other custom objects in this implementation so it wouldn't be that big a deal.
Thoughts? Ideas?