We are currently performing maintenance on Appian Community. As a result, discussions posts and replies are temporarily unavailable. We appreciate your patience.

Feature Request: please enable local variables In records

Certified Senior Developer

Feature Request:

Enable local variables where we can query or get some important data related to a record item so that it can be reused in all the of the related actions visibility because we usually do same set of queries/group checks most of the time. 

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    I know what you mean, but I hope you realize how major of a change this would be - AFAIK it would require the entire construction of the record type to be fundamentally altered.

    As a workaround, I've actually seen this done inherently in the "record view source expression", where the work is done in a custom / external expression rule, where various visibility aspects are evaluated all at once (such as various "group membership check" functions etc), then passed back via the manual construction of a specialty CDT that's the same CDT used for the record's Data Type.  This can at least work for view and related action parameters and visibility settings, saving you from having to run duplicative logic many times for each entry.

  • 0
    Certified Senior Developer
    in reply to Mike Schmitt

    Hi Mike,

    Thanks for the alternative but in newer version of appian I don't think creating a record based on expression rule is possible. Now if we try to create service backed record it has to be on integration. Also if there is a way for it we will be loosing lot of interesting feature such as immediate record sync, export to excel.

    Adding this local variable would improve ton of performance for most of the records

  • 0
    Certified Lead Developer
    in reply to chanakyav0002

    A service backed record just takes an expression which has to create a data subset. It does not matter where this is coming from.

Reply Children