Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Clear Data of fields in subform

Posted on by 85

Hey guys

I want to clear data of fields in subform by child workflow (case entity). but when I run workflow it doesn't work and give bellow error.

2019_2D00_03_2D00_27_5F00_17_2D00_08_2D00_01.png

Please tell me If anyone can how should I fixed this problem.

thanks

*This post is locked for comments

  • Charles Abi Khirs Profile Picture
    Charles Abi Khirs 3,569 on at
    RE: Clear Data of fields in subform

    You are using the clone solution, in order to clone the case record into a new one.

    In the newly created case, you need to clear the values of some fields (as per your above screen shot)?

  • Amin Barek Profile Picture
    Amin Barek 85 on at
    RE: Clear Data of fields in subform

    I mean sub-Grid that in the case entity.

  • Charles Abi Khirs Profile Picture
    Charles Abi Khirs 3,569 on at
    RE: Clear Data of fields in subform

    To make few things clearer, what do you mean by sub-form? Is it the new record cloned ?

  • Amin Barek Profile Picture
    Amin Barek 85 on at
    RE: Clear Data of fields in subform

    Dear Charles,

    I want to clear subform data of case, the solution that you said how can I clear data field of subform?

  • Charles Abi Khirs Profile Picture
    Charles Abi Khirs 3,569 on at
    RE: Clear Data of fields in subform

    Hello,

    Create a new workflow on the case entity that will be triggered on Create record, and check if this newly created record has parent case record (or another flag to identify it), and then you can clear the needed fields as per your need.

  • Amin Barek Profile Picture
    Amin Barek 85 on at
    RE: Clear Data of fields in subform

    It is active. But it has a problem to run

  • Dynamics365 Rocker Profile Picture
    Dynamics365 Rocker 7,755 on at
    RE: Clear Data of fields in subform

    Your child workflow may be in draft state.

    Also please check child workflow to know issue.

  • Amin Barek Profile Picture
    Amin Barek 85 on at
    RE: Clear Data of fields in subform

    2019_2D00_03_2D00_28_5F00_13_2D00_42_2D00_49.png

    2019_2D00_03_2D00_28_5F00_13_2D00_42_2D00_11.png

    2019_2D00_03_2D00_28_5F00_13_2D00_42_2D00_25.png

    2019_2D00_03_2D00_28_5F00_13_2D00_42_2D00_49.png

  • Amin Barek Profile Picture
    Amin Barek 85 on at
    RE: Clear Data of fields in subform

    actually I run a solution for clone a record of case and the record has a subform. I want when the record cloned then automatically child workflow run and clear some fields of subform. Where can I specify lookup field?

  • Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Clear Data of fields in subform

    Hi

    The error message seems to be complaining that you are telling it to start the child workflow on a record that does not exist

    Could you share the screenshot of View Properties of Start Child Workflow Step?

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