Oracle Workflow uses the object type WF_AGENT_T to store information about an agent in a form that can be referenced by an event message. The following table lists the attributes of the WF_AGENT_T datatype.
WF_AGENT_T Attributes
| Attribute Name | Datatype | Description |
|---|---|---|
| NAME | VARCHAR2(30) | The name of the agent. |
| SYSTEM | VARCHAR2(30) | The system where the agent is located. |
The WF_AGENT_T object type also includes the following methods, which you can use to retrieve and set the values of its attributes.
MEMBER FUNCTION getName return varchar2
Returns the value of the NAME attribute in a WF_AGENT_T object.
MEMBER FUNCTION getSystem return varchar2
Returns the value of the SYSTEM attribute in a WF_AGENT_T object.
MEMBER PROCEDURE setName (pName in varchar2)
Sets the value of the NAME attribute in a WF_AGENT_T object.
| pName | The value for the NAME attribute. |
MEMBER PROCEDURE setSystem
(pSystem in varchar2)
Sets the value of the SYSTEM attribute in a WF_AGENT_T object.
| pSystem | The value for the SYSTEM attribute. |