Posted: 20 Feb 2018 5:37 EST Last activity: 1 Mar 2018 15:13 EST
Conditionally configuring OnCahnge Event
I have added the On-Change Events
1. Run Activity
2. Refresh-This Section
Based on the first Action(Run Activity) Setting the result to the property. Now based on the property vale need to refresh the Section. I have add the When rule in the Refresh Action Condition. But its not working. any suggestion on this.
As per my understanding, try configuring a "Post Value" event after calling an activity(in between of activity and Refresh-This section events) or else try configuring activity in "Refresh-This section" event itself, there is an option but here tricky part is how you will make section conditionally visible. For this, you can embed the section in another dynamic layout and make it conditionally visible based on the property which is having conditional value.
Hope it helps, kindly notify by marking this post as answered/helpful if it does.
Posted: 3 years ago
Posted: 20 Feb 2018 6:21 EST
Umamaheshwar Reddy Midthuru (Mahesh Midthuru)
Senior Software Solutions Engineer
Just for setting the property value you don't need to write an activity, you can either use the Data transform or use Set Value action on change event of the property. I would like to know your exact requirement what you are trying to achieve, so that we can suggest you accordingly. Also do let us know the version you are using.
User launch the Module Window in Review harness, If the user submit the Module window need for the Section Refresh, If cancelled no need. When user submit the module window we are reopening the assignment and updating the Status as "Pending-". If the Status property value is "Pending-" need for Section refresh otherwise ignore the refresh as well as cancel or close the module window also.