1 Reply Latest reply on Jun 14, 2016 3:20 PM by Tim Webb

    Is there anyway to use control logic to check the name of a logged in user?

    Matthew Lee

      What is going to happen is an admin user is going to go in and assign who has to sign off a drawing, from a drop down list on the data card. I was then going to use control logic to check if that name in the drop down box matches the logged in user's name and if it does he can sign off in the text box. Does anyone know how to do this?

        • Re: Is there anyway to use control logic to check the name of a logged in user?
          Tim Webb

          Hi Matthew,

          Control logic won't do what you're after. Control logic will only allow you to hide or grey out a control.

           

          You can use many different approaches to accomplish this so really, it might be worth looking at tabbed controls that are controlled by variable then name of logged in user to set the required approvals. Then use checkboxes to represent which approvals are required on that tab. Then tie these checkboxes to transitions that handle approvals and conditions on the states to determine if the checkbox is checked to allow the approval.

           

          Way too much to walk through on this post.

          Hopefully this gets you started.

           

          Tim CEPA

          http://www.equivaq.com