Request

The request object data type enables you to access attributes of a request in subscription filters, approval and notification policies, and custom validations. After you add a method, you add attributes and parameters to return a Boolean value.

Request Attribute Description Attributes and Methods of Returned Object
attachments List of attachments for the request Attachments list:
  • any
  • count
  • find
  • get
  • isEmpty
  • size

Attachment object: see Request Attachment and Comment Object Attributes table, below.

comments List of request level comments Comments list:
  • any
  • count
  • find
  • get
  • isEmpty
  • size

Comment object: see Request Attachment and Comment Object Attributes table, below.

createdBy User who created the request
  • isMemberOf

    Parameter: the name of the group to check

  • username
description Description of the request See Method or Attribute in Strings, Numeric Strings, and Sequences.
isNull Returns True if the request context is null. See Methods or Attributes in Boolean.
owner Assigner or submitter depending on the request stage
  • isMemberOf

    Parameter: the name of the group to check

  • username
stage The request stage
  • isApprove
  • isClosed
  • isCommit
  • isSubmit
status The request status
  • isCompleted
  • isDraft
  • isInFlight
  • isPushedBack
  • isRejected
title The title of the request See Method or Attribute in Strings, Numeric Strings, and Sequences.
type The request type
  • isConsolidation
  • isImport
  • isInteractive
  • isLoad
  • isSubscription

For the request attachments and comment objects, the following attributes are available.

Table 23-7 Request Attachment and Comment Object Attributes

Object Attribute Description Attributes and Methods of Returned Object
Attachment Objects
name Name of the attachment file See Method or Attribute in Strings, Numeric Strings, and Sequences.
fileOrigin Origin (system or user) of the attachment file
  • isSystem (request load file)
  • isUser (request attachment)
createdBy User who created the attachment
  • isMemberOf

    Parameter: the name of the group to check

  • username
Comment Objects
value The contents of the comment in HTML format.

For example, for a comment with the text, "Approved", the comment value object contains" <p>Approved</p>"

See Method or Attribute in Strings, Numeric Strings, and Sequences.
createdBy User who created the comment
  • isMemberOf

    Parameter: the name of the group to check

  • username