Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
There is a pretty easy way to accomplish this with a workflow variable and a little bit of code. Try this:
1. Create a Workflow global variable of type String.
2. In an Expression Robot, call this code (this code assumes your workflow variable is called "url" and your PBO is the "obj"). I'd put this code into a Helper class and call the Helper class but you can place it directly into your Expression Robot as well, but you'll need the package prefixes of each Class used:
url = link.toString2(new NmURLFactoryBean());
3. In your User Task of the workflow, create the local variable by copying into from the global variable.
4. In the Instructions of your User Task use this notation with an HTML tag (again "url" is your workflow variable name):
Let me know if you have additional questions about this.