AXForum  
Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 08.11.2011, 05:17   #1  
Blog bot is offline
Blog bot
Участник
 
25,631 / 848 (80) +++++++
Регистрация: 28.10.2006
Microsoft Dynamics CRM Team Blog: How to Create a Post with Mentions using Workflow?
Источник: http://blogs.msdn.com/b/crm/archive/...-workflow.aspx
==============

Microsoft Dynamics CRM Activity Feeds solution is now released in the Dynamics Marketplace and ready to use with the latest Microsoft CRM update. The solution offers better ways to collaborate with in the organization and stay on top of business processes.


In this blog article, I will walk you through new capabilities introduced in Workflows to support Post creation based off business requirements.

Goals:

- Create a Post and Mention other records using Workflow

- Walk through Workflow Designer and Post Url (Dynamic Value) Capability

Pre Requisite

- Upgrade CRM 2011 Organization to UR5

- Install Microsoft Dynamics CRM Activity Feeds solution and Configure Lead entity to have Wall

- Read aboutHow to do Mentions with Activity Feeds



Once Activity Feed Solution is installed, users in CRM can talk about Account, Contact, etc… entities using Posts. You can use Posts to ask questions, announce the updates to an opportunity etc… At the same time others can respond back by commenting. So this is all nice for end users to communicate. Wouldn’t you love having Auto Posts?

CRM does allow ISV’s, Partners, Users extend or tailor the out of the box functionality to your business needs. Once such extensibility is “Creating Post using Workflows!!!”.

Let’s get to the Steps to get the work done.

Scenario: When the Lead rating is changed to Hot, Create a Post on the Lead Record Wall

“ is changed to “Hot’ by

Steps

- Navigate to Settings -> Processes and Click New Process

- Process name = “Lead Converted to Hot”

- Entity = Lead,

- Category = “Workflow”

- Click ok



- Now let’s configure the process to trigger on “Lead Update” for “Rating Field” only.
    • Un check “Record is Created”
  • Check Record Fields Changed. Click Select and Select Rating. Click Ok


- In the Process, we want to verify if the “Lead.Rating” is Hot and then only create the post.
    • Click –Add step -> Check Condition. Click Specify Condition and select Lead, Rating , Equals and Hot as shown below.


- In the Condition, you would want to Create a Post.
    • Click Add Step -> Create Record
    • Select Post Entity
    • Click “Set Properties”. You will be presented with a form (shown below) to enter Post details
- Create Post Form .. Let’s talk about what the fields mean
    • Text: Data in this field is presented to the end users on the wall
    • Source : Manual / Auto
      • Manual : Icon of the Post would be User (Intended for users entering manually)
      • Auto : Icon of the post would be the Regarding Object of Post (Recommended for Posts created by Workflows)
      • They show in corresponding Filters in Personal Wall
      • Regarding ObjectId: Entity that Post is About. In our case, it is post on Lead Wall. So it is Lead.


- Populate Post.Text
    • Finally, this is where it gets interesting. Recalling that we want to post something like
    • “ is changed to “Hot’ by
    • To get the Lead Name “Mention Tag”, you need to select Post Url(Dynamic) from the Form assistant for Lead entity. (Shown in Picture below)
    • Once Slug is inserted , you can type other text and Slug for Rating{Lead} and Modified User Slug (shown in Picture Below)


- Here is Final screen shot of the Post form



- Once you save the Process. Click Activate as shown below.



- Create a New Lead.

- Update the Lead Rating to “Hot”

- Wait for Workflow to fire and you would see a Post on the Lead Record Wall…





That’s all. Now users can click on hyperlinks for Modified User & Lead directly from the Post and they get to be on top of the situation …

Thanks

Ajith Gande




Источник: http://blogs.msdn.com/b/crm/archive/...-workflow.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Microsoft Dynamics CRM Team Blog: How to do Mentions with Activity Feeds Blog bot Dynamics CRM: Blogs 0 01.11.2011 03:13
Microsoft Dynamics CRM Team Blog: Working with Activity Feed using Microsoft CRM SDK Blog bot Dynamics CRM: Blogs 0 01.11.2011 03:13
Microsoft Dynamics CRM Team Blog: Microsoft Dynamics CRM 2011 ~ Book Club Blog bot Dynamics CRM: Blogs 0 02.02.2011 00:16
Microsoft Dynamics CRM Team Blog: CRM Online: Reporting Options Blog bot Dynamics CRM: Blogs 0 18.06.2009 06:14
Microsoft Dynamics CRM Team Blog: Microsoft Dynamics CRM 4.0 Bookshelf Blog bot Dynamics CRM: Blogs 1 22.01.2009 04:46

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 11:45.