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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Change hidden field value when an associated entity is added to Event

(0) ShareShare
ReportReport
Posted on by 2

Hi,

I have added a hidden field to my New Event form called "Are Event Products", the default value is No.

I want to change this to Yes whenever an Event Product is added, see screenshot. (The Publish Event workflow will check for this)

What is the easiest way to do this? Should I create a new workflow process to change the value and what would that look like?

Thanks you for your time,

Ollie

eventproduct.PNG

I have the same question (0)
  • Suggested answer
    Oliver_McErlane Profile Picture
    2 on at
    RE: Change hidden field value when an associated entity is added to Event

    Thanks

  • LuHao Profile Picture
    40,888 on at
    RE: Change hidden field value when an associated entity is added to Event

    Hi Oliver,

    Don't forget to click 'Yes' under "Did this answer your question?" to close this thread.

    Thanks.  :)

  • Oliver_McErlane Profile Picture
    2 on at
    RE: Change hidden field value when an associated entity is added to Event

    Thank you

  • LuHao Profile Picture
    40,888 on at
    RE: Change hidden field value when an associated entity is added to Event

    Hi Oliver,

    Event Product entity and Event entity have a N: 1 relationship, so Event Product entity has an Event lookup field, and the Event form has an Event Product subgrid.

    When the Event Product record is created or updated, as long as there is value with the Event lookup field (the Event Product record has been added to the subgrid of the Event form ), then change "Are Event Products" to Yes.

    In summary, the attributes of the workflow are as follows.

    Entity: Event Product.

    pastedimage1582342561343v3.png

    Trigger: 'Record is created' and 'Record fields change', select the Event lookup field.

    pastedimage1582342580542v4.png

    Step1: Check Condition. "The Event Lookup field of the Event Product entity contains data." AND "The 'Are Event Products' field of the Event entity is No."

    pastedimage1582342915908v5.png

    Step2: Update Record. Update Event, select 'Are Event Products' field to Yes.

    pastedimage1582342950113v6.png    pastedimage1582342972461v7.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

Responsible AI policies

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

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
DAnny3211 Profile Picture

DAnny3211 367

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 137 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 82 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans