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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 09.01.2018, 08:14   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
crmtipoftheday: Tip #1052: Recurring tasks in Dynamics 365
Источник: https://crmtipoftheday.com/1052/recu...-dynamics-365/
==============
How can I do recurring tasks in Dynamics 365?

While Dynamics 365 does not include an official “recurring” task like it does with appointments, it can still be done. Here is one approach to creating a weekly recurring task:
  1. Create an entity called “Task Schedule.” Include the relevant fields like owner/assigned to, next scheduled, subject, description, end date. Populate next scheduled with the first task instance due date, and end date with when the series should end.
  2. Create a workflow that runs on create of task schedule and on update of the next scheduled date:
    1. Wait condition timeout 1 minute after next scheduled.
    2. Check condition is workflow execution time less than end date.
    3. If so, create task setting due date to 1 week from next scheduled date and mapping the fields from the task schedule record.
    4. Update task schedule “next scheduled” with the due date from the task created in step 3.
So yes, it can be done. The above approach could be expanded to handle different types of frequencies (monthly, semi-annually, etc).

But should it be done? Personally, I am not a fan of recurring tasks, and the standard warnings about over-use of wait conditions applies.

Photo by Ambitious Creative Co. – Rick Barrett on Unsplash



Источник: https://crmtipoftheday.com/1052/recu...-dynamics-365/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
crmtipoftheday: Tip #1020: Dynamics 365 mobile offline limitations Blog bot Dynamics CRM: Blogs 0 13.11.2017 19:11
jaestevan: Dynamics 365, AppSource, PowerApps y compañía… ¿Qué esperar del futuro de los ERP en Microsoft? Blog bot DAX Blogs 0 26.07.2016 22:11
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 7 Blog bot Dynamics CRM: Blogs 0 27.03.2012 02:11
german_nav_developer: Buildnummern-Übersicht Microsoft Dynamics NAV 2009 SP1 Blog bot Dynamics CRM: Blogs 0 11.06.2010 16:33
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 15:39.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.