web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Auto Complete Task (in Activities Pane)

(0) ShareShare
ReportReport
Posted on by

Is there any way to update the Task entity Activity Status through workflow? When creating the workflow on task entity, we receive an Invalid Argument error on the workflow.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Allen,

    You definetely can update the status of the task with a workflow. I created a very simple workflow that changes the status of the task to completed if the priority wasnt set to 'high' and let in run onCreate, that works fine.

    How does your workflow look and what do you want to accomplish with it?

  • Suggested answer
    Community Member Profile Picture
    on at

    just checking you are using the set status step and not trying to update in the update task step.

  • Community Member Profile Picture
    on at

    For example, Account entity has a task per business process flow stage. Is there a way to auto complete the task based on a field change?

  • Community Member Profile Picture
    on at

    There is no easy way of doing this because the relationship between Accounts and Activities is 1:N, so the system won't know which task to look for.

    Alternatively, I see business people working with tasklists a lot, which means a reverse process is more logical to me. If a user says they have completed a task, (witch certain characteristics, because you dont want the workflow to run all the time) you set the field of the regarding account in the business process to whatever field value.

  • Suggested answer
    Community Member Profile Picture
    on at

    Please look into https://crm2011distributewf.codeplex.com/

    This has worked for me in the past to allow you to trigger child workflows on all linked records based on change at a parent. Works for the other relationship types as well.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans