data type save

Certified Associate Developer

I am trying to understand when the appian save data type should be used, reading the documentation I do not see a clear example of use. Can someone tell me if they use it and when? This is the associated documentation

https://docs.appian.com/suite/help/24.4/using_interfaces_in_appian.html#creating-reusable-custom-components

docs.appian.com/.../Appian_Data_Types.html

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    There will be cases where you need to manipulate or conditionally handle some operations based on the input. Instead of using an additional variable to save the value and handle it based on that, you can use save!value.

    It simplifies the process of saving or manipulating the user input in the interface by providing direct access to the value.

    Example:

    a!save(local!email, if(isnull(save!value), "No Email Provided", save!value))

Reply
  • 0
    Certified Lead Developer

    There will be cases where you need to manipulate or conditionally handle some operations based on the input. Instead of using an additional variable to save the value and handle it based on that, you can use save!value.

    It simplifies the process of saving or manipulating the user input in the interface by providing direct access to the value.

    Example:

    a!save(local!email, if(isnull(save!value), "No Email Provided", save!value))

Children
No Data