Support Article
Post value action for the event on click in the button
SA-7835
Summary
In a section, you are using a button for the event 'On Click' with the action 'Post Value' and you expect the complete form data to be submitted to server and progress in the screen flow. At runtime, when you click on the button, it is returning the message "The operation completed successfully, but returned no content" and activity status as "Good", and thus it is not working as expected.
Error Messages
Not Applicable
Steps to Reproduce
In a Section, refer the button with the event 'On Click' with the action 'Post Value'
Root Cause
You are using display action Post Value on a button at section level to process work in a screen flow which is not a valid use case.
Display action 'post value' posts the property value to the clipboard and refreshes the cell's contents. It is triggered by Change or OnBlur of the field and prior to any other event (such as a click action) initiated from a control, or from the calculation of expressions.
For example: a pxButton control refreshes another section using an activity that requires three updated properties before the control can update the target section. When the user clicks the button, the properties are posted to the clipboard and are synchronized with the activity.
Resolution
Using Process Work action Finish Assignment (Submits changes and marks this assignment as complete) instead resolves the outstanding issue at your end.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.