Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How Make a 24hour Workflow / Pluging / JavaScript

Posted on by Microsoft Employee

Hello everybody!

I'm asking today for how make this every day.

Today I've a var called "Today'Date", but it only save the Today date when User enter to the oportunity, for example:

Right now is 20/03 ; but if we enter .... we can look opportunitys with today'date with 16/03 ; 18/03 and 20/03 (because he enter today).

So, how we can set that this value upgrade every day? It's because I want attach it with a workflow to send reming emails.

Thanks for your time.

*This post is locked for comments

  • Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: How Make a 24hour Workflow / Pluging / JavaScript

    Hi Maurizio,

    Process log is not required. It was designed for that particular type of process to enable logging.

    The code that I have for the plugin is not required either. It is used and executes individual tasks as required. You can use workflow instead.

    I have not experienced issues about process not executing all the time.

    You can set the date as you mention or based on process Execution, and no there is no actual need to use a plugin.

    Good luck.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How Make a 24hour Workflow / Pluging / JavaScript

    Thanks Aric, I've read your post and get manys dudes and make a investigation with your post name and get others ideas XD, but my dudes are:

    Your Post:

    1) You created a new entity called "Process Log" -> It's needed? Because I want use this recurring in "Opportunity Entity".

    2) Where you create the puggling O.o? I've read about them, but I've never see where find them or make.

    In Another Old Post (With recurring) [community.dynamics.com/.../create-recursive-or-scheduled-workflows-in-crm]

    I've made a custom workflow using this idea, but I've many dudes.

    0777.WorkF1.png

    1) In this post users claims that it'll work between 8-25 times, but How I do that it work Inf time? because the difference between Today and Stimated Day in our case are in months.

    2) I've a Js that record Todays'Date in OnLoad event / OnSaved event the today date, so always I've a value there.... To update the value to +1 I need select "1 Day Afther Today'sDate"?

    3) If needed puggling here?

    thanks you.

  • Suggested answer
    Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: How Make a 24hour Workflow / Pluging / JavaScript

    Hi Mauricio,

    This is an old blog article that I wrote a while back on executing plugins on a particular schedule. Take a look and hopefully it will help you out:

    www.briteglobal.com/.../recurring_crm_plugin_execution_using_workflows

    Hope this helps.

  • Suggested answer
    Pawar Pravin  Profile Picture
    Pawar Pravin 5,227 on at
    RE: How Make a 24hour Workflow / Pluging / JavaScript

    I hope we can call custom workflow on daily basis schedule, it kinds of recursive functionality.

    It will call on daily basis and update date in custom workflow.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How Make a 24hour Workflow / Pluging / JavaScript

    Hello Pravin!

    How you can make this custom workflow? Because I've tried to many workflows but nothing works :S (To update date)

  • Suggested answer
    Pawar Pravin  Profile Picture
    Pawar Pravin 5,227 on at
    RE: How Make a 24hour Workflow / Pluging / JavaScript

    Hi Maurizio,

    To achieve this functionality you need to create one custom workflow that will execute on daily basis and update date.

    You need to call this custom workflow just before send email stage.

    Hope this help you!!

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans