Skip to main content

Use Workflow variable in Decription Format on SelectFeatures Activity

Comments

5 comments

  • Permanently deleted user
    I think you could use an assign to put the variable in and then use the resulting variable for the expression. So something like:

     

    "First part of your text " + variable + " rest of your text."

     

    You might have to use single quotes (') inside your HTML tags though ...
    0
  • Carmen Durham
    Yes, I tried several variations of something similar.  It's a fresh new day, maybe I will try again.
    0
  • Carmen Durham
    To simplify the question...

     

    If my workflow variable is a string called theworkflowvariable,

     

    then how would I use the variable in this span tag in the DescriptionFormat for SelectFeatures???

     

      "<span style=""font-style: italic; color:green; font-weight:bold"">theworkflowvariable???</span>" I have tried numerous combinations of single and double quotes, different brackets, etc.  without luck.

     

    Thanks,

     

    Carmen
    0
  • Permanently deleted user
    So if you put the following into an alert box, what does it give you?

     

    "<span style=""font-style:italic; color:green; font-weight:bold;"">" + theworkflowvariable + "</span>"
    0
  • Carmen Durham
    Odiri,

     

    I would have  sworn that I tried exactly what you have provided without luck.

     

    But, I tried again and "lo and behold" it worked.  I was probably blind to whatever was wrong.

     

    Thank you!

     

    Carmen
    0

Please sign in to leave a comment.