Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Workflow to check condition in unrelated entity i.e. parent->child->child

(0) ShareShare
ReportReport
Posted on by

Hello,

I have a workflow where I need to check condition with the  entity where it is not related directly for e.g. I have workflow created for account entity which has a related  entity called supplier they both have common field accountid now we have third entity called supplieraddress where the supplier and supplieraddress have common field called supplierid, here I need to check condition from account entity to supplieraddress entity how to do this in workflow, will childflow help to just check condition and return true or false, I don't want to do custom workflow like to code and all because it's just one condition, please guide me with the steps or any links.

*This post is locked for comments

  • Suggested answer
    RE: Workflow to check condition in unrelated entity i.e. parent->child->child

    Hi, please check out this blog post that will walk you through how you can use Action to accomplish this.

    Use Action to retrieve data from an unrelated entity in Workflows in Dynamics 365

    http://msdyn.blogspot.com/2018/03/use-action-to-retrieve-data-from.html 

  • Suggested answer
    Syed Ibrahim Profile Picture
    Syed Ibrahim 6,257 on at
    RE: Workflow to check condition in unrelated entity i.e. parent->child->child

    There is no OOB workflow  to get it. You need to do custom workflow or web api query.

  • RE: Workflow to check condition in unrelated entity i.e. parent->child->child

    Hi Mahen,

    Thanks for replying, I checked the link which you gave however how to bring the fetchxmlquery in the workflow as part of steps as shown in the link, sorry I 'm quite new to all this.

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Workflow to check condition in unrelated entity i.e. parent->child->child

    Hi,

    You can't query entities using out of the box workflow, so you need to write custom workflwo your own or you can try workflow utilities like below if that can help you:

    msdyncrmworkflowtools.codeplex.com  (Check query step)

    practical-crm.blogspot.in/.../workflow-fetchxml-query.html

    Thanks

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,432 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans