Option for logical/automated selection of Procedure on a DataView/other button

Giving developers the option to set-up a selection criterium (Algorithm) which runs one of multiple saved Procedures in the background. (see screenshot)

That is to be seen as an addition to the manual selection of the Procedure by the user currently available.

4
4 votes

Open For Voting · Last Updated

Comments

  • I like it. Could work like the already existing "dynamic go-to screen" - just with procedures. 👍

  • @Filip Rankovic if I'm understanding what you're describing correctly you could do this with an 'If then else' step in a procedure. If an algorithm was required to evaluate the criteria this could be done with a dataflow in a prior step, then the output of the dataflow used in the 'if then else' step.

  • Björn Reuber
    Björn Reuber Employee, Community Captain
    500 Likes Fourth Anniversary 100 Comments 5 Answers

    Hello,

    for me this jist moves complexity from backend (here it is already possible to create a procedure like this) to the frontend. So you are asking for a GUI, which will limit the current functionality, but maybe I do not understand the extra value we add, when we have this.

    Is there a certain reason, why it is not enough to create procedure for this IF step?

    In addtion, within the Button/Label object it is already possible

    Regards

    Björn

  • Thanks Giles and Björn for your input.

    Certainly, the possibility to prepend the choice of procedures with a „procedure selection“-procedure with the described logic is possible, though requiring some extra steps for anything that isn’t possible/complex with DataFlows or the If-then-else step (detail bys, aggregations, ranking functions, text, date, etc.)

    My idea is meant as an additional option to simplify jumping into the desired procedure based on already rendered and available front-end data.

    Setup would be faster (imo), the solution could be used for allowing power users to change the criteria when needed and (in the case of export-import for e.g. text evaluation) execution would be faster.

    I am happy to hear your thoughts or discuss further

    Best regards,

    Filip