refer to document location in workflow?
-
27. června 2012 21:04
I have a workflow associated with a field update event of an entity. That event triggers an email, in the email I would like to add an hyperlink to the document location for the entity. The problem is that CRM stores a list of document locations for each entity item. It seems that the workflow design UI does not give an option to link to one of them. In my case, I will always have at most one location for each item.
if there is not out of box solution, I have to add a new attribute (for the url) to the entity to store that.
Thanks,
Všechny reakce
-
28. června 2012 3:18
HI Guangming,
The only out of box solution I can think is the one that is added when you apply the Rollup update 5, Check this post http://www.powerobjects.com/blog/2011/11/11/microsoft-dynamics-crm-2011-update-rollup-5-adding-a-hyperlink-to-email-notifications-via-a-workflow/
Regards,
Damian Sinay -
24. července 2012 19:30
I knew that feature and it works for 1-1 relationship. It does not work in my case: One entity is associated with a list of document location.
Thx,
-
29. července 2012 22:45Moderátor
There are multiple document locations per entity, which means that it is a 1:N relationships. You cannot access Document Locations from the primary entity because you can never access child entities from workflow designer. You would have to inert your own custom workflow activity which will generate the hyperlink to the document location. Your custom workflow activity can output the URL that you can then use in an email. However, without some coding you will not be able to achieve that!Gonzalo | gonzaloruizcrm.blogspot.com
- Navržen jako odpověď Gonzalo Ruiz RMVP, Moderator 29. července 2012 22:45
- Označen jako odpověď Guangming 30. července 2012 19:20
- Zrušeno označení jako odpověď Guangming 30. července 2012 19:39
-
30. července 2012 19:40custom workflow activity works for on-premises not online version.
-
30. července 2012 20:12Moderátor
They will be supported with the next R8 release in Online. For now, you would have to use a plugin as a workaround:
http://blogs.msdn.com/b/crm/archive/2010/11/05/custom-workflow-actions-in-microsoft-dynamics-crm-2011-online.aspxGonzalo | gonzaloruizcrm.blogspot.com
- Označen jako odpověď Guangming 13. srpna 2012 14:48