General Availability fort the INPUT functionality - with updated syntax & added scope

 

CURRENT STATUS: Rolled out to 100% of accounts

 

Hi everyone,

Iโ€™m very excited to announce that we are launching the INPUT functionality to General Availability. App creators can now define when information is passed from one context to another via dynamic โ€œinputsโ€ so that actions and tasks behave differently based on these input values. Effectively, app creators can now โ€œparameterizeโ€ the logic of some of the actions and tasks. 

The INPUT functionality enables multiple types of rich and complex use cases, such as:

  • Prompting app users with an input box when the app user taps on an action button
  • Updating a set of rows from one table using values from the row of another table
  • Reusing AppSheet automation tasks across different bots

 

INPUT example

Probably the simplest example is with an app that lists tasks that have  a status field and a comments field. App users are asked to update their task status to โ€œDoneโ€ and provide information in the comments field on how they accomplished the task. App creators can now dynamically prompt the app user for that information (and only that information) in a pop-up modal when they mark the task as โ€œDoneโ€. It was already possible to provide a similar flow, but (a) the app creator had to do more work and (b) the user experience for app users was not as intuitive.

Arthur_Rallu_0-1701891304522.gif

 

A little bit of history

The INPUT functionality unlocks a number of highly requested features that make app creation easier and expand what AppSheet apps can offer. Back in 2021, the INPUT functionality was released to Beta (a.k.a. Preview) but the team had some lingering questions. It is now (finally) Generally Available to all app creators. There are a few changes though. First, the syntax has been updated so that the feature is more easily discoverable, its usage is more explicit, and the syntax itself is more consistent with other existing patterns in AppSheet. Second, its scope has been expanded to now support Automation tasks for reusability purposes.  

Arthur_Rallu_1-1701891335124.png

Many app creators have been using this functionality in their apps since its Beta launch, but others may have been hesitant to rely on it because it was still in Beta and so we are glad to finally make it Generally Available to everyone. 

 

As Liz called out in our release notes on Monday, this is currently rolling out and should become available to all AppSheet users in the next 10 days or so. When it is available to you, we ask that you start using the new syntax. 

 

Old and new syntax for existing apps already leveraging this functionality

In order to properly maintain this feature, we will have to turn off the old syntax in the future. Until then, all apps and automations using the old syntax will keep on working without app creators needing to take action. We also understand that adopting the new syntax in existing apps represents some amount of work by app creators and we want to give you time to adjust. In an effort to turn off the old syntax some time in June 2024, we plan on proceeding as follows:

  • Within a few weeks you will start seeing warning messages in the editor for apps that leverage the old syntax 
  • At the same time, for simple cases leveraging the old syntax, app creators will be able to migrate from the old to the new syntax with a single click and check that everything is working fine 
  • Starting on March 30th, for simple cases, the old syntax will be automatically migrated to the new syntax if app creators have not taken action
  • Starting on April 30th, for more complex cases, app creators will be prompted to use the new syntax when they open the editor for such apps

We will be communicating to you about this as we go through that process. 

 

Let us know if you have any questions (but donโ€™t forget to check the FAQ section below first :))

Thank you,

Arthur Rallu, for the AppSheet team

 

FAQ

  • What resources are available about this feature?

Documentation is available at Doc for input in Tasks, Doc for input in Data Change Actions.

The team talked about this feature in an AppSheet Office hours in September. 

I also want to mention this community post by @Kirk_Masden. It walks you through the capabilities of that feature in a very simple way. If you're new to using this functionality, it's a great way to discover it IMHO. The app used to be implemented with the Beta syntax but Kirk updated it recently to use the new syntax (Thank you Kirk!).

 

  • Why is the legacy documentation (here and here) still saying the INPUT functionality is in Beta?

Until the rollout is complete, we are keeping this documentation as is. We will tag it when the rollout is complete and add a link to the new documentation.

 

  • Can I use the old and new syntaxes together?

The two syntaxes can be used in the same app for two different tasks or actions,  but the two syntaxes cannot be used within a single action or a single task. In other words, in an action with 2 inputs, both of them must be specified with the same syntax.

 

  • During the Sept AppSheet Office hours, the team said theyโ€™d publish a template app. Is it available now?

Not yet, but we still plan on doing it. Weโ€™ll update this FAQ and add a comment to this thread when it is done. 

 

  • When will the input functionality be supported by other data actions?

We are aware of this request, but we donโ€™t have a timeline to share at this point.

 

37 122 32K
122 REPLIES 122

Is INPUT() function still considered 100% Generally Avaiable?  If so, could someone please update the documentation - INPUT()

Does Input() works with time ? Like

Today () + 1

@Arthur_Rallu 

Do you have any plans of making [_INPUT] available in the action "Data: add a new row to another table using values from this row"?

The workarounds of having to use Grouped actions just won't cut it since it requires creating the records then editing it, and if the user cancels at the last step, it doesn't cancel the record that was added.