Config Console/LPL show field based on user viewing action form

Author
Messages
humansince1982
Basic Member
Posts: 4
Basic Member

    Hi All,

     

    I've been looking at this for a bit and thought I'd post here to see if anyone has any thoughts.  The gist is that for the CreateJobReqisition form, we have a need to show an additional field when a particular manager views the form. I know that there's the visible when (actor.approver) but that shows it to all approvers..... We're looking to only show it to two individuals in particular.  

    In my testing, I've determined that actor.agent(Employee).Employee will give me the user's employee number and I can output it to the form to see that it changes as it goes through the workflow.  So I thought I could do something simple like "visible when (actor.agent(Employee).Employee = user's employee number).  But it doesn't like that and throws an error saying "Validity conditions in this context must be a boolean condition, or field state"

    I also thought about doing something like if (actor.agent(Employee).Employee = ) but that also throws an error saying Expected (KeyField [set] |RelationName  | BusinessClass [(KeyField)] [set] | RelatedLink  | FieldName  | ParentContext ).  Also thought about something with an actor condition like visible when (actor has role ) but, again....... didn't like that.  

    Anyone have any thoughts?  Any input is much appreciated.

    Thanks!

    ---