Job Runner

Get User Profile

Summary

Get the profile of the user which is selected in the User selection field.

How to Use

The obtained information will be set as a result of the action.

To access the conversion result, use a formula to reference this action from other actions.

For example, if “Get User Profile” is the first action, enter the following formula in the “[Set Field Value[” parameter as follows:

=$1

then you can retrieve the result. If the “Information you want to obtain” is “All”, specifying which information you want to obtain in the expression as follows:

= $1.email 

is required.

The result value will be in the form of an array corresponding to the number of users obtained. To extract the data for only the first person’s portion, specify as follows:

=$1[0]

then you can get the result.

Parameter

Specify Record, User Selection Field, Information you want to obtain, Kintone User Name, and Kintone User Password.

Record

Select records that have the User selection field you want to obtain.

If multiple records are included, user information will be retrieved from all records at once. If there are no records, an error will occur.

User Selection Field

Specify the field in which a user has been selected.

This parameter accepts the following field types:

  • User selection
  • Created by
  • Updated by
  • Assignee

This parameter does not accept fields that are inside tables.

If no users are selected in this field, it will not result in an error. If the User selection field is empty in all records, the result of the action will be empty.

Information you want to obtain

Select which information you want to obtain, such as an email address.

Basically, you can only obtain one type of information with one action. To retrieve multiple types like email address and phone number, split the action or select “All”.

If you select anything other than “All”, the result of the action will be an array of strings containing that information. For example, if you select “Display Name” and the selected users are three, with their display names being John, Jane, and Ken, the result will be an array of [“John”, “Jane”, “Ken”].

Selecting “All” retrieves all information at once. In this case, the elements of the array will be described in Cybozu’s documentation as “User type”. For example, if you want to obtain an array of each user’s email addresses from the result of the first action, specify as follows:

= $1.email

then you can get it.

Kintone User Name

Kintone User Password

To obtain user information, accessing cybozu.com is needed. Enter the authentication information for Kintone (cybozu.com) that will be required at that time.

This user does not require any special permissions.

Tips for the customization items

The customization items can be obtained when “All” is selected for “Information you want to obtain.”

The customization items consist of an item code (code) and a value (value), but Customine cannot obtain the item code (code). The value can be obtained if it is the specified customization item of the selected user.

For example, if the action number for this Do is 5, and you want to get the value of the 10th customization item for the first user, specify as follows:

= $5[0].customItemValues[9]

Also, arrays start from zero, so please note that the first user is referenced as [0] and the tenth customization item is referenced as [9].

It is not possible to obtain all customization items of all users in an array format, or to obtain all customization items of a specific user in an array.

Restrictions

  • You can obtain a maximum of 100 users in a single action. If you want to get more users, please separate the actions.

  • Guest user information cannot be obtained.

  • In the document of Cybozu’s documentation , there is an item called “Priority Department ID”, but it literally can only obtain the ID. The department name or department code code of the priority department cannot be obtained.