You are viewing limited content. For full access, please sign in.

Question

Question

Bug? Email using variable WebAccess URL

asked on December 7, 2022

I have a customer using LF Cloud, with a business process that uses Workflow to find a document, creates the WebAccess URL and passes it back as a variable.  The problem is the variable is not able to be used in any emails.  If it's used to embed the document/WebAccess withinin the form, it will work, but any time you try to email the link it's getting corrupted by the system whether you embed it as a variable in the text body or use the "link" button in creating the email.  This is both sending an email via user task or using an email task.

Example, just paste the variable and it shows up (looks) correctly in the email as https://app.laserfiche.com/laserfiche/?index.aspx?db=r-dc99e2be#id=12011;view=pages but when you hover over the link it's actually http://https://app.laserfiche.com/laserfiche/?index.aspx?db=r-dc99e2be#id=12011;view=pages and if you click the link it goes to https//app.laserfiche.com/laserfiche/?index.aspx?db=r-dc99e2be#id=12011;view=pages which is missing the colon.  Add the colon in your browser and it works.

 

As a side note, sending an email from Workflow does send the link correctly, but we don't want to have to send two emails for a single user task.  Any thoughts?  Thanks, it seems more like a bug but maybe I'm missing something.

0 0

Answer

SELECTED ANSWER
replied on December 7, 2022

Oh, I see it now. You made it a link didn't you?

That looks to have some extra assumptions, so you'll have to clean up the href and title elements if you're passing on the full URL in the variable.

0 0

Replies

replied on December 7, 2022

Just to make sure i get the scenario correctly, you have WF generate the link and then pass it back to the business process as a variable. Then you use it in an email activity in the business process?

Is there any extra processing in the email body? Or are you just putting the variable in the text body? Please attach screenshots if you're doing anything extra.

0 0
replied on December 7, 2022

You pretty much have it.  The goal would be to use the email capability within the user task so it emails the link to the form assignment as well as a link to the document. . .all in a single email.  I have tried the email activity as well as the user task, but they both "don't work" the same way.  

In both tasks, I have tried to just embed it in the email body as well as use the "link" button but neither way works.  They all create the same problem.

0 0
replied on December 7, 2022

I'm not seeing it.

This email activity configuration

results in

Can you post your configuration? Any chance that your email gets scrubbed at mail server level "for your safety" and possibly has links re-written that way?

0 0
SELECTED ANSWER
replied on December 7, 2022

Oh, I see it now. You made it a link didn't you?

That looks to have some extra assumptions, so you'll have to clean up the href and title elements if you're passing on the full URL in the variable.

0 0
replied on December 7, 2022

Miruna, I honestly didn't even look at the HTML tab, so you're right.  It looks like I can clean it up there.  Thanks, however I would add that just dropping in the variable "webaccess url" will cause this problem, which I'm sure many users without coding experience wouldn't expect.  It'd be nice if that was somehow automatic.  Either way, thanks!

0 0
replied on December 7, 2022

Yep, that's what I figured you did. I filed issue #406201 to clean up the behavior here because, you're right, most people will expect magic processing to figure out if you gave it a full URL or not at runtime. But also because adding "http://"  in this day and age is just...not right.

2 0
You are not allowed to follow up in this post.

Sign in to reply to this post.