Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Can workflow be triggered by calculated field without opening the record

Posted on by

I have a calculated field with nothing set as the condition and the action set to this:

Set License Day Count to DiffInDays(Current Date, License Expires On).  If I have a real time workflow set to be triggered on change of that field, would I have to manually open the record to get the workflow to trigger?  Or will it be triggered with the date changes and ultimately changes the value of "License Day Count" field.  Or would I have to trigger a workflow on record create and add a wait step?

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Can workflow be triggered by calculated field without opening the record

    "You can’t trigger workflows or plug-ins on calculated fields."

    https://docs.microsoft.com/en-us/dynamics365/customer-engagement/customize/define-calculated-fields

  • Suggested answer
    maustin Profile Picture
    maustin on at
    RE: Can workflow be triggered by calculated field without opening the record

    I like your suggestions.  I will be using a recurring workflow, using the solution CRM2016-workflowscheduler_1_1_0_0, and check the License Day count daily. 

  • Verified answer
    prt33k Profile Picture
    prt33k 6,907 on at
    RE: Can workflow be triggered by calculated field without opening the record

    Hi Maustin,

    The update of calculated field doesnt trigger update workflow.

    You can have a workflow written for change of "License Expires On" but not on "License Day Count".

    www.summitgroupsoftware.com/.../limitations-calculated-fields-microsoft-dynamics-crm-2015

    It seems like you need a daily job to check the Day Count. So your last option of adding wait step seems more feasible.

    Something like this:

    www.powerobjects.com/.../setting-up-recurring-workflows-in-dynamics-crm-2016

    Thanks,

    PS

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans