Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Daniel Bardi 913 posts 2540 karma points
    Mar 28, 2014 @ 23:45
    Daniel Bardi
    0

    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?

  • Daniel Bardi 913 posts 2540 karma points
    Mar 29, 2014 @ 03:09
    Daniel Bardi
    0

    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.

  • Daniel Bardi 913 posts 2540 karma points
    Mar 29, 2014 @ 03:50
    Daniel Bardi
    100

    Again..I resolved. I was able to inherit from BasicEmailWorkflowTask and override the Run and SendEmail methods.

    Works perfectly!!!

  • Daniel Bardi 913 posts 2540 karma points
    Mar 29, 2014 @ 17:53
    Daniel Bardi
    0

    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.

  • Darren Ferguson 1019 posts 3255 karma points MVP c-trib
    Mar 30, 2014 @ 10:37
    Darren Ferguson
    0

    Sorry - just got around to looking at this. Glad you figured it out. Let me know if you need anything else!

Please Sign in or register to post replies

Write your reply to:

Draft