I have a request to be able to allow users to be prompted for comment before starting the workflow (i.e. enter a comment about what was changed on a document).
My options are to redirect them to a page for entry and move the workflow forward from there, or open a dialog for entry.
I created a custom UserDecisionTask which allows me to use my own page as a UI. Works great except I need to know how to show the stash values in the email task. Is there a way to pass those values into the email content without using a template? I'd like to insert them into the standard text field of an email task.
How can I prompt for text value?
I have a request to be able to allow users to be prompted for comment before starting the workflow (i.e. enter a comment about what was changed on a document).
My options are to redirect them to a page for entry and move the workflow forward from there, or open a dialog for entry.
How would you suggest this be best accomplished?
I solved my own issue.. at least partially.
I created a custom UserDecisionTask which allows me to use my own page as a UI. Works great except I need to know how to show the stash values in the email task. Is there a way to pass those values into the email content without using a template? I'd like to insert them into the standard text field of an email task.
Again..I resolved. I was able to inherit from BasicEmailWorkflowTask and override the Run and SendEmail methods.
Works perfectly!!!
Just discovered the ReplaceToken method in the BasicEmailWorkflowTask. Guess it's already covered.
I think it should cover anything text surrounded by brackets for Stash values.
Sorry - just got around to looking at this. Glad you figured it out. Let me know if you need anything else!
is working on a reply...