I want the change the font color of the variable passMessage so its GREEN. I have checked a lot answers in the forum but none seem to address my unique situation.
The variable properties does not have the font property and this workflow is not working with excel.
String class doesn’t have any information for format including font color. So, it’s necessary to use FormatCells activity to change font color in specific cell as the following.
@Dominic
Thanks but it seems that you did not attach the work flow you where you used the verify expression. In the one you attached, the font is not green.
Could you please re-attach?
@Dominic Thanks for that clarifications. However this solution might still not work for my use case because:
My workflow is a Library that once deployed will be used as a custom activity by other processes, therefore the logic to change the color cannot be in the testcase.
That is why I was wondering if there is anyway to change the font in the main sequence. I tried @Yoichi workflow, but did not get it to work.