Link employee to an agent

 4 Replies
 1 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
JimY
Veteran Member Send Private Message
Posts: 510
Veteran Member

Hello,

     Does anybody have an example of querying the Agent Business Class based on the KeyText value?  I can't seem to get anywhere.  Also,  I am trying to figure out how to link an employee to an agent and am not getting anywhere.  We are on Landmark 10.1.1.23.  Thank you.

David Williams
Veteran Member Send Private Message
Posts: 1127
Veteran Member
To link employee to agent, in Rich Client and your LTM data area (not GEN), choose Start > Data > person > Business Classes > Agent
and find the value for the employee (in the Name field) you wish to link. Open that record and then find the Actor (trans Actor) to link to and then Save.
David Williams
JimY
Veteran Member Send Private Message
Posts: 510
Veteran Member
Thank you David, but I am trying to find out how to do it in Process Automation.
Tim Cochrane
Veteran Member Send Private Message
Posts: 154
Veteran Member
Yes...took some experimentation. This is out of a Security Automation flow that runs daily.

Query node - where the var = Company, Employee number.
_dataArea="ltm" & _module="person" & _objectName="Agent" & _actionName="Find" & _actionOperator="NONE" & _actionType="MultipleRecordQuery" & _pageSize="30" & _filterString="KeyText=\"\" and BusinessObjectRef.BusinessClassName=\"Employee\"" & _setName="ByKeyText" & Agent & BusinessObjectRef.BusinessClassName

Update node - where = login/user ID and = Agent returned in previous query
_dataArea="ltm" & _module="person" & _objectName="Agent" & _actionName="LinkToActor" & _actionOperator="NONE" & _actionType="CreateUpdateDelete" & _pageSize="30" & Agent="" & Actor=""
Tim Cochrane - Principal LM/IPA Consultant
JimY
Veteran Member Send Private Message
Posts: 510
Veteran Member
When I try to do the build for the query it wants a value for BusinessObjectRef.SymbolicKeyText. Not sure what to put in there.