Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

How to interact with related records within work flow process UI

Posted on by 90

Hello,

I'm trying to update a record using workflow process,  is it possible to manipulate other one to many fields?

I want to be able to add records to related fields dynamically.

pastedimage1592337294644v2.png

  • Sudheer Reddy Profile Picture
    Sudheer Reddy 115 on at
    RE: How to interact with related records within work flow process UI

    I dont think you can perform any actions with that UI. If it is 1:N relationship, you can create the related record using "Create" step in workflow by giving current record in the related record's lookup field.

    If you want to edit existing related record, you need to go for custom activity / Power Automate (Flow) to retrieve the related record first then update.

  • LuHao Profile Picture
    LuHao 40,872 on at
    RE: How to interact with related records within work flow process UI

    Hi partner,

    Has this problem been solved?

    Please click Yes under "Did this answer your question?" to close this thread.

    pastedimage1592980899225v1.png

    Thanks.  :)

  • Linn Zaw Win Profile Picture
    Linn Zaw Win 3,405 on at
    RE: How to interact with related records within work flow process UI

    If you just want to add records to the related child entities, you can add the Create step and populate the lookup field on the child entity with current record.

    pastedimage1592391200689v1.png

    If you are trying to update an existing child record and if your environment is Dynamics 365 online, I totally recommend using flow as in the response by LuHao.

    But for any reason, if you really need to use the classic workflow process (on-prem project, real-time workflow, etc.), you can install the UWT custom workflow and use Distribute Workflow to trigger the workflows in the child records.

    https://github.com/AndrewButenko/UltimateWorkflowToolkit/releases

  • Verified answer
    LuHao Profile Picture
    LuHao 40,872 on at
    RE: How to interact with related records within work flow process UI

    Hi Ainsley,

    It's impossible with OOTB workflow, we have to use flow or custom workflow.

    I recommend you use flow, because it is no code.

    First "List reocrds" to search for related records, then "Apply to each" and "Update a record" to update the lookup field to the triggered record.

    pastedimage1592384035002v1.png

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

Product updates

Dynamics 365 release plans