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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Real time workflows

(0) ShareShare
ReportReport
Posted on by 2,665

Hi,

I have a real time workflow that populates data from related entities. The fields that gets auto populated are read only. One of the field is not auto populating but it used to before. I deleted that workflow and created a new one but it still not auto populating. How should I troubleshoot this issue?

Thanks

*This post is locked for comments

I have the same question (0)
  • Royal King Profile Picture
    27,686 on at

    Check whether related entity record contains value , may be related record does not have value for the field that you mapped to auto populate.

  • crmprogrammer2013 Profile Picture
    2,665 on at

    No Chitra, that field does have value. Because I enter value into that field and save the form and then a subgrid + button gets created in the same form after saving. when I open that new record from the subgrid + button, I have the same related field in the new form which is read only and should populate the value. I don't know why it is not populating!

    Thanks

  • crmprogrammer2013 Profile Picture
    2,665 on at

    Ok, looks like you are partially correct Chitra. When record is created and pressed 'Save' to enable subgrid, it is not saving the data. I have to press 'Save & Close' and then reopen that record and I am seeing 'Unsaved Changes' in the bottom. Then I press save in the bottom again and then open the subgrid new record. Here I am able to see the auto populated field value.

    This way of interacting with the form is not feasible for the end users right? Is there anything that I can do to make the form save its data when 'Save' is pressed?

    Thanks.

  • Royal King Profile Picture
    27,686 on at

    if you want to auto populate fields from parent record on create of child record there is no need of real time workflow , you can achieve this by just adding mapping in the relationship. GO to customization-> Entity (your entity)-> relationship (1:N) or ( N:1) based on which entity you are. If you selected parent entity go to 1:N relationship and select the relationship between parent entity and your child entity then click on mappings to map fields from parent to child.

  • crmprogrammer2013 Profile Picture
    2,665 on at

    Chitra,

    I tried mapping the fields. Its still the same. After entering the details in the parent record, 'Save' and when subgrid opens a new record it is not auto populating. I have to press 'Save and Close' in the parent form and then reopen it. Also like I said I am seeing 'unsaved changes' when parent form is reopened. Its only after I press save and open the subgrid new form I can see the auto populated field value.

    What does this mean?

    Thanks

  • Royal King Profile Picture
    27,686 on at

    It's strange behavior and  it seems others as well reported this behavior in the forum past.

    community.dynamics.com/.../123306.aspx

    Can you convert your real time workflow into background workflow and observe the behavior ?

  • litonn Profile Picture
    913 on at

    You can check if the workflow is running under calling user and if the user has write permission on the workflow. The fields might be a security fields enable.

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

News and Announcements

Season of Giving Solutions is Here!

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
Shidin Haridas Profile Picture

Shidin Haridas 2

#2
Abdullah13 Profile Picture

Abdullah13 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans