Job Runner

Retrieve the Recipient of the Comment Passed by Webhook

Summary

Retrieve the recipient of the comment passed by webhook.

How to Use

When the trigger condition for the webhook is “writing a comment”, the recipient of that comment will be retrieved. The obtained recipient can be referenced as an expression such as = $1 as a result of the action. This value is a list (array) that combines the recipient’s login name, code, and type. Please note that the display name of the recipient is not included in this information.

The type is one of the following:

  • USER: Individual user Code will be the user’s login name.
  • GROUP: Group (role) Code will be the group code.
  • ORGANIZATION: Department Code will be the department code.

For example, to obtain the login name and code of the first recipient, write the expression as follows:

= $1[0].code

If the trigger condition for the webhook is not “writing a comment”, an error will occur at runtime.

Unlike the case of Retrieve Records Passed by Webhook, it is not necessary to perform Set Kintone API Token in advance.

Parameter

There are no parameters to be set.

Occurrence of Record Retrieval Criteria

Criteria Occurrence
When Record Is Ready It does not occur.
When All Records Are Ready It does not occur.

Restrictions

  • You can only obtain the result when the condition for the webhook is “writing a comment.”

  • It is not available for scheduled tasks.