CheckGroup Change Event fires only once
I have a Display Form that has a CheckGroup in it. I have set a change event to detect when a new button is clicked. The event appears to only fire once UNLESS I put an Alert in - in which case it fires every time. Am I misunderstanding something somewhere
-
I should have mentioned that I am using a Get Form Event Data at the top of my Change Event to work out which button has been clicked
0 -
Hi Chris,
I just replicated this scenario and I am seeing the event fire with each change to the Check Group. If possible, could you upload your workflow?
You can enable debugging tools by setting your browser console to log messages at 'All levels'. If you are running your workflow in WAB or the Sandbox, the activity inputs and output will be automatically displayed. If you are using GVH, then you will need to add the parameter &debug=true and set the console log level.
Thanks,
Stefan
0 -
Hi Stefan, more investigation today and yes it seems that the events are firing but my setting of properties is not if the alert is removed, I have attached 2 files
1) CheckGroupTest_NotWorking.json is the non working workflow
2) CheckGroupTest_Working.json is the working workflow
Looking in the change event you will see the only difference is that I have removed the alert from the non working version
0 -
Hi Chris,
Thanks for sending these. I'm going so file an issue and have our development team take a look into them. I can't seem to determine a reason why including the Alert would make a difference. We've seen issues in the past with the Alert activity within a subworkflow, but it generally fixed issues when it was removed.
Thanks, Stefan
0 -
On a side note, is there a reason why you are using a CheckGroup rather than a RadioGroup, which includes this functionality by default?
0 -
Hi Stefan. The reason for trying this route was because I am trying to get a 'RadioGroup' that once clicked pops up a different way to select items. If that is an Autocomplete box that results in a drop down list, then the dropdown list is always visible even though it is not populated. I would like to hide the dropdown list until the autocomplete has been actioned
0 -
Hi Stefan, we now have this working with the RadioGroup, one of our other guys pointed out the error in my ways.
0 -
Hi Chris,
Thanks for the follow-up messages. I'm glad to hear that you found a solution.
Stefan
0 -
Hi Chris, as an update to this, one of our developers stated that using the Set Form Element Item Property will provide the proper functionality in this use case.
0
Please sign in to leave a comment.
Comments
9 comments