Expand my Community achievements bar.

SOLVED

Task Notification email: workitem_url and host prefix

Avatar

Level 7

Hello,

 

We are making assignments in workflow using the Task Assignment.  There are "built-in" metadata variables like workitem_url and host_prefix.  I have changed the value of host_prefix in CQ Task Nofication config and Link Externalizer but, neither see to affect the URL.  It's a dev machine so, we get http://localhost:4502...

 

Please please please, tell me where we can configure these values so, our workflow is more portable.

 

Thanks,

1 Accepted Solution

Avatar

Correct answer by
Level 7

Ok, after a bunch of reading, I figured it out.  It's easy.

http://localhost:4502/system/console/configMgr/com.day.cq.commons.impl.ExternalizerImpl

Change local, author and publish - or whatever you need.

Save.  No need to restart server or service.

 

In the workflow, Assign Task, check the box, Notify assignee by email and you'll see the template path.  Modify that as needed but, the workitem_url should have the new domain name.

View solution in original post

6 Replies

Avatar

Level 7

@GirishBedekar I've read that page like 100 times.  It doesn't tell you where to modify these values.  Can you spoon feed me . . . please!!  Maybe I'm going cross-eyed already.

Avatar

Level 7

Are you saying that I cannot modify the host prefix?  It is hardcoded to localhost?  I have to create a custom metadata item?  I'm just trying to modify the host name/domain.  That's all.

Avatar

Level 9

Have you tried using host_prefix in your email template ? If yes what do you see in the email?

 

Avatar

Correct answer by
Level 7

Ok, after a bunch of reading, I figured it out.  It's easy.

http://localhost:4502/system/console/configMgr/com.day.cq.commons.impl.ExternalizerImpl

Change local, author and publish - or whatever you need.

Save.  No need to restart server or service.

 

In the workflow, Assign Task, check the box, Notify assignee by email and you'll see the template path.  Modify that as needed but, the workitem_url should have the new domain name.