Skip to main content

Integration & Automation-integration DingTalk logs

1. Usage scenarios

Select member submit in the YIDA form to query the number of unread entries in the DingTalk log for statistics.

2. Procedure

2.1 Step 1: form design

2.1.1 Create and configure the unread log query table form

When submitting data, the connector action is triggered to initiate a query.

Procedure:

  1. Create a form named unread log query table 」.
  2. Add a member component named select employee and set it to required. (The operation is shown in Figure 2.1-1)

Figure 2.1-1 add and configure member components

  1. Click save in the upper-right corner of the page.

2.1.2 create and configure the Log Query Form

It is used to receive and display the data returned by the connector.

Procedure:

  1. Create a new form named log query record 」.
  2. Add a single-line text component named number of unread entries and set the status to read-only 」. (The operation is shown in Figure 2.1-2)

Figure 2.1-2 add and configure a single-line text component

  1. Click save in the upper-right corner of the page.

2.2 Step 2: configure the connector

For more information about YIDA connectors, see:Integration & Automation

Used to integrate DingTalk log data.

Procedure:

  1. Background management page Integration & automation> create Integration & Automation 」. (The operation is shown in Figure 2.2-1)

Figure 2.2-1 connector entry

  1. Name the connector "query the number of unread log entries", select "form event trigger" type and specify the form as "unread log query table"> click "OK" button. (The operation is shown in Figure 2.2-2)

Figure 2.2-2 New connector

  1. Configure form event trigger: the trigger condition is set to "created" and the data filtering condition is set to "all data 」. (The operation is shown in Figure 2.2-3)

Figure 2.2-3 configuration form trigger event

  1. Select connector application: Select the connector application as log and click the Next button. (The operation is shown in Figure 2.2-4)

Figure 2.2-4 select connector application

  1. Select connector execution action: Select "get unread logs" to execute the action, and click "next" button. (The operation is shown in Figure 2.2-5)

Figure 2.2-5 Select connector execution action

  1. Configure the connector and click save. (Operation is shown in Figure 2.2-6)

Figure 2.2-6 configuration connector execution action

  1. Add a new data node. (The operation is shown in Figure 2.2-7)

Figure 2.2-7 add new data node

  1. Configure the add data node. (The operation is shown in Figure 2.2-8)

Figure 2.2-8 configure the add data node

  1. Click save in the upper-right corner of the page and click Publish.

2.3 Step 3: Submit form data

Used to trigger the connector and receive the result returned by the connector.

Procedure:

Fill in the unread log query table form data and submit it. (The operation is shown in Figure 2.3-1)

Figure 2.3-1 submit form

3. Effect display

Figure 3.1 effect display

This doc is generated using machine translation. Any discrepancies or differences created in the translation are not binding and have no legal effect for compliance or enforcement purposes.
Copyright © 2024钉钉(中国)信息技术有限公司和/或其关联公司浙ICP备18037475号-4