Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.

Action Failed Column is required (when using in Form Saved Event)

I have a column called [Label].
Required_If is set to CONTEXT("View")="Label_Form".
So, if I’m working in the Form View, it is required.

I’ve created also an Action, that deletes the [Label] column.

This Action is fired after saving the form.

But when I save the form, I get this Error Message:

2X_1_1a270b658768968b99ef3a2199abb6273f4c0975.png

I thought it would work, because an Action is not working in a Form View.
As mentioned, the Required_If is set to CONTEXT("View")="Label_Form".

This is happening only, when the Action is set to the Form Saved Event.
When I fire the Action via the Detail View, it works perfectly.
2X_1_122bcf5e211514ba72375e4d2966152ff6ea7091.png

Solved Solved
2 15 1,455
1 ACCEPTED SOLUTION

Here is the answer from AppSheet Support Team:

Hi Fabian. For the actions that triggered by a form view, it is arguable in either way whether or not the those actions are considered in the CONTEXT of the form view. Our current implementation follows the ‘yes’ argument. The reason is that the “Form Saved” action is executed before the UI state transitions away from the form. The action has to run before view navigation, as the action may replace the default navigation. Hence the view context will still be the form.

I know this is not ideal and may be confusing to users. As the team is now working on adding capabilities for workflow automation, this might be revised per our development of new application models for workflow. Thanks for your continued support and feedback!

View solution in original post

15 REPLIES 15
Top Labels in this Space