ProcessServicesGetPendingApprovals Method |
Retrieves a list of all approval items that are presently in a "pending approval" state.
The list may optinally be filtered to return only those approval items that are relevant to a particular user.
Namespace:
FactoryLogix.xTend.ProcessDefinition
Assembly:
FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax public IEnumerable<ApprovalItem> GetPendingApprovals(
Guid sessionId,
string userName
)
Public Function GetPendingApprovals (
sessionId As Guid,
userName As String
) As IEnumerable(Of ApprovalItem)
public:
virtual IEnumerable<ApprovalItem^>^ GetPendingApprovals(
Guid sessionId,
String^ userName
) sealed
abstract GetPendingApprovals :
sessionId : Guid *
userName : string -> IEnumerable<ApprovalItem>
override GetPendingApprovals :
sessionId : Guid *
userName : string -> IEnumerable<ApprovalItem>
Parameters
- sessionId
- Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - userName
- Type: SystemString
The user name of the user account whose pending approvals are sought. If this parameter is null or an empty string, all pending approvals for all users will be retrieved.
Return Value
Type:
IEnumerableApprovalItemA list
ApprovalItem objects representing the approvals that are pending approval, optionally filtered by user account.
Exceptions See Also