Distribute Report Document To Library
  • 23 Aug 2024
  • 1 Minute to read
  • Dark
    Light

Distribute Report Document To Library

  • Dark
    Light

Article summary

General

This type of action can be used to distribute a report document to the Library of one or more Users and/or User Groups.

Properties

Every action of this type has the following properties:

Name

Description
Report DocumentThe report document that shall be distributed to the Library.

Recipients

You can specify one or more recipients references to specify recipients for the report document. Every recipients reference has the following properties:

Name

Description
SelectorDetermines how recipients are specified (see below).

Expression Returning User Name(s)

If you set the Selector to Expression Returning User Name(s) you can set the Expression property to an Expression that returns one or more Strings containing the names of Users.

The following expression, for example, returns the name of a single user:

Mail & Deploy Expression

"Bob"

The following expression returns a list of two user names:

Mail & Deploy Expression

CreateList("Bob", "Sue")

Expression Returning User Match Code(s)

If you set the Selector to Expression Returning User Match Code(s) you can set the Expression property to an Expression that returns one or more Strings containing the match codes of Users.

The following expression, for example, returns the match code of a single user:

Mail & Deploy Expression

"User123"

The following expression returns a list of two user match codes:

Mail & Deploy Expression

CreateList("User123", "User456")

Expression Returning User E-Mail Address(es)

If you set the Selector to Expression Returning User E-Mail Address(es) you can set the Expression property to an Expression that returns one or more Strings containing the e-mail addresses of one or more Users.

The following expression returns a list of two e-mail addresses:

Mail & Deploy Expression

CreateList("user123@company.com", "user456@company.com")

Expression Returning User Group Name(s)

If you set the Selector to Expression Returning User Group Name(s) you can set the Expression property to an Expression that returns one or more Strings containing the names of User Groups.

The following expression, for example, returns the name of a single user group:

Mail & Deploy Expression

"User Group 1"

The following expression returns a list of two user group names:

Mail & Deploy Expression

CreateList("User Group 1", "User Group 2")

Selected Users And/Or User Groups

If you set the Selector to Selected Users And/Or User Groups you can select one or more Users and/or User Groups.


Was this article helpful?

What's Next