When I select option 1 (value = 1) in the select menu, notifications do not fire. No matter what the selection is, nothing happens.
When the Dynamic Event is changed from Value Changed to Value Updated notifications trigger as expected.
Since this is a dynamic field that gets populated, I need to use Value Changed since Value Updated triggers other events when the value is updated dynamically.
Does anyone know why the behavior is different between the pages or more importantly, how to get the Value Changed to fire as expected?
Thanks I checked that before posting. This was working before and now it seems it’s as Patrick describes in his post “with the change event it is possible that the value still contains the old value”.
I have a select menu that’s dynamically populated. The user can then change this select menu. When the user changes it triggers a record update.
The problem I’m running into when using “Value Updated” is that on page load, the select menu is updated (from null to dynamic value) and it therefore triggers an update event.
Any recommendations so that the record update is only triggered when changed by the user?
The sever connect is only fired if the value is above 1 (i.e. the user has changed it)
In your case, set a variable to 0 on success of the server connect and use an on-updated (with a condition) on the variable to trigger the SC which looks at the select value. The select on-change event would then change the variable to 1 which triggers the whole process.
From what I understand you are telling that the changed event doesn’t work correctly on a specific page while it was working on a test page. Of course the changed event should work on each page the same, so something must go wrong.
Does the last code you posted work, the one where you set the value on the changed event?
Alternative you could try the change event. You are using a flow, there you can add a small wait action as first step, 1ms should be enough for app connect to have the updated value.