Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Answered

How we can call workflow/Action plugin/Plugin/Flow when record fulfills the view criteria

Posted on by

i am trying to record the date time when record appears in left view and when it goes to right view. view has criteria but that criteria can't set in SLA Applicable step.
pastedimage1586955378155v1.png
pastedimage1586970442649v1.png
pastedimage1586955408404v4.png

i am positive and hoping you guys will help me out or is there nay other workaround will be appreciated guys

  • RE: How we can call workflow/Action plugin/Plugin/Flow when record fulfills the view criteria

    Thanks Leo i am calling this flow after 2 second i have some concern

    Each call after = 2 second = 1 call

    In One minute = 60/2 = 30 calls

    in One hour = 30*60 = 1800 calls

    in One day = 1800*24 = 43200 calls

    is there any other way in which i can achieve this without lot of calls?

  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: How we can call workflow/Action plugin/Plugin/Flow when record fulfills the view criteria

    Hi partner,

    Thanks for your recognition :-)

    Please feel free to let us know if you have any other questions in this thread.

    Regards,

    Leo

  • RE: How we can call workflow/Action plugin/Plugin/Flow when record fulfills the view criteria

    Thanks Leo Partner

    i am marking this as verified cause you guys really spent your time 

    Hopefully this will work

  • Verified answer
    LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: How we can call workflow/Action plugin/Plugin/Flow when record fulfills the view criteria

    Hi partner,

    SLA condition does not support customization.

    You could use Power Automate(FLOW) to do this.

    For example you want to save the date and time when record fulfill the view criteria, you could create a scheduled flow and let it run per minute or even per second.

    pastedimage1587029934132v1.png

    And then we create a "List records" action which will  show all records which fulfill your custom condition.

    So you could copy the view criteria to the filter line with condition statements.

    like appointment is yesterday, we could use "UTCnow()" to get current date and time, use "AddDays(UTCnow(),-1)" to mean yesterday.

    pastedimage1587030260899v2.png

    And when we find out these records, we should store the date and time to a field, so we create a update action, select the entity and instance, and then set the current date time "UTCnow()" to the field to record the time.

    pastedimage1587030334674v3.png

    In this way, this flow will run per minute or second and if it find any record which fulfill the condition, it will store the date and time to a special datetime field on your form you've created before.

    Best Regards,

    Leo

  • RE: How we can call workflow/Action plugin/Plugin/Flow when record fulfills the view criteria

    Thanks Leo

    but it not like that i am looking for a solution when any record fulfill the view criteria then i want to save its date and time.

    i don't want to do this job manually.

    can we change the SLA Applicable condition on which it revoke itself this way i can add yesterday condition because OOB is not providing the yesterday option on date fields

  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: How we can call workflow/Action plugin/Plugin/Flow when record fulfills the view criteria

    Hi partner,

    Workflow, plug-in or other actions all need a trigger condition like when creating/updating/deleting/assigning...record.

    In your case, you need to collect the date of records and the condition is that "Appointment Date" is yesterday. I recommend you to create a on-demond workflow, and you need to run it everyday manually.

    You could use this condition.

    pastedimage1587016522631v1.png

    Best Regards,

    Leo

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