Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Task - Set Status Reason Question

Posted on by 175

Hi, 

Wondered if anyone ever had this scenario, and had a solution for it.  On the OOB Task record, a user wants the status reason set to "In Progress" when a Start Date is entered (minimize clicks).  They also want this field open-ended (not locked) so that users can manually change it if needed.  This can't be done with a Business Rule because then if the user changes the Status Reason (to 'Deferred', 'Waiting on Someone Else', etc.) the rule will change it back always to "In Progress".  I can't seem to use a on create/change workflow either, because it seems the Status Reason field is not available to update via workflow.  Does anyone have a suggestion for this?  Is the only way JScript?  

  • William Bradley Profile Picture
    William Bradley 175 on at
    RE: Task - Set Status Reason Question

    Yup, I had tried the On Create/Change WF and got it to work...thanks again man.  

  • Verified answer
    meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: Task - Set Status Reason Question

    Hi,

    I use a real time workflow:

    2727.png8132.png

    The workflow is executed at the creation and on change of the start date only.

  • William Bradley Profile Picture
    William Bradley 175 on at
    RE: Task - Set Status Reason Question

    It does - how did you achieve this?

  • meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: Task - Set Status Reason Question

    Hi,

    Sorry, maybe I misunderstood your scenario.

    Before save:

    7532.png

    After Save:

    1256.png

    User can update the status Reason:

    4336.png

    Or even update the start Date:

    7416.png

    Is that match with your use case ?

  • William Bradley Profile Picture
    William Bradley 175 on at
    RE: Task - Set Status Reason Question

    I am not following - The trigger/condition is Start Date Contains Data, the action is a set field value in Status Reason to 'In Progress'.  But the Status Reason field also needs to be editable by users and cannot stay as In Progress if the condition Start Date Contains Data.  So I am not sure how a Synchronous Business Rule or Workflow can do this.  And a Flow is ASync, so that is not an option.  Any ideas?  Am I missing something?

  • meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: Task - Set Status Reason Question

    In fact Change status set the combination of Status and Status Reason.

  • Suggested answer
    meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: Task - Set Status Reason Question

    I see...Use Change Status rather than an Update step. 

  • William Bradley Profile Picture
    William Bradley 175 on at
    RE: Task - Set Status Reason Question

    Thanks Mehdi, but this needs to be a Synchonous process.  The Status Reason needs to update in real time when a user enters a Start Date, and the field also needs to be changed manually by the user to other values - Deferred, Waiting on Someone Else.

  • Suggested answer
    meelamri Profile Picture
    meelamri 13,204 User Group Leader on at
    RE: Task - Set Status Reason Question

    Hello, 

    On the OOB Task record, a user wants the status reason set to "In Progress" when a Start Date is entered (minimize clicks).

    You can do it with Flow. In fact, the execution will be daily at midnight for example.

    The execution will update each Task to "in progress" if your conditions are met. 

    Let me know if you need more guidance in the implementation. 

    I will check the possible solutions for your second use case.

  • William Bradley Profile Picture
    William Bradley 175 on at
    RE: Task - Set Status Reason Question

    How would that condition / action look?  Would I need to put flags on the form for "not updating"?

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans