Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

updating date time field with currentDatetime value on change of Status

Posted on by 161

Hi experts,

I have two fields in one of my custom entities 

1) Request Step(option set)

2)Closed On Date(Datetime field)

when user set request step option value to Closed i have to set the ClosedOnDate field value with current DateTime .

Which approach is better among business rule ,workflow and javascript 

I tried with business rule but there is no current Datetime value available here.

Thanks,

Nagaraju 

*This post is locked for comments

  • Nagaraj M Profile Picture
    Nagaraj M 161 on at
    RE: updating date time field with currentDatetime value on change of Status

    Thank you andrii it's resolved my issue.

  • Verified answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: updating date time field with currentDatetime value on change of Status

    Tworkflow_2D00_for_2D00_current_2D00_date_2D00_and_2D00_time.jpg"_blank" href="/api/data/v9.1/msdyn_richtextfiles(8BFA0245-8C75-4B6E-BBF3-CAF8E644C826)/msdyn_imageblob/$value?size=full">community.dynamics.com/.../workflow_2D00_for_2D00_current_2D00_date_2D00_and_2D00_time.jpg

  • Nagaraj M Profile Picture
    Nagaraj M 161 on at
    RE: updating date time field with currentDatetime value on change of Status

    Hi Andrii thanks for your suggestion actually i am not getting any system current date time value(dynamic) available in Real Time workflow to assign that value to some date time field.

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: updating date time field with currentDatetime value on change of Status

    Hello,

    As for me Realtime Workflow is best option for 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