• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

call rpg program based on app variable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • call rpg program based on app variable

    Is there a way to call an rpg program based on the value of an app variable

  • #2
    Yes. Add your "Call RPG Program" behavior and give it a feature name. Suppose you call the feature "callMyPgm". This will automatically create an app variable named "nabFeaturecallMyPgm". If the value of this is true then the program will be called. If false it will not call.

    If you need a way to condition the "nabFeaturecallMyPgm" app variable based on another app variable you can set an expression on it.

    Comment


    • #3
      can i get some type of example of that expression.. i want to set nabFeaturecallmyprogram = true when my checkboxappvariable = false



      If {[freezepane] === false} nabFeatureresetBatchDisplay === true

      Comment


      • #4
        Then, you would set the expression on the nabFeatureResetBatchDisplay, and I would recommend initializing your "freezepane" app variable.

        Example:

        Screenshot 2024-02-07 at 2.58.43 PM.png

        Comment


        • #5
          are we able to expand upon that if freezepanel is false and appvar2 = 'ABC' then nabfeaturessetbatchdisplay is true

          Comment


          • #6
            Yes

            Code:
            !{[freezepane]} && {[appvar2]} === 'ABC'

            Comment


            • #7
              wonderful! thanks

              Comment

              Working...
              X