How to create a schedule through a connector
1. Scenario
When we use the YIDA form to submit to-do items, we needHow can we automatically generate a DingTalk schedule before the to-do time or to-do time so that it can be notified before the to-do time arrives? At this time, weYou can use connectors to automatically create schedules.
2. Implementation steps
2.1 Form Building
Build a to-do list, which mainly sets the to-do list, to-do time and to-do list.
Due to the need to automatically create a schedule by submitting data, to-do sponsors and agency participants need to use member components. To-do participants are set to multiple selections and to-do time is required to be the date component.
2.2 Integration & Automation creation
When submitting a form, a new schedule is automatically created, so we need to select the connector trigger type as the form event trigger.
For more information about connector functions, see:Integration & Automation
2.3 configure connectors
2.3.1 configure trigger type and connector type
On the connector editing page, select the event trigger type as "created" and select the connector type as "DingTalk official application-Schedule 」.
2.3.2 configure create schedule content
Select DingTalk official application-schedule, click Next, select Create schedule, and click next to go to the configure action execution page. Configure the required fields of the schedule in sequence, as follows.
Schedule title 」: Required. Select fields in the form and to-do items.
Participants 」: Required. Select the field in the form and the member component to-do participant.
Start time 」: Required. Configure one hour before the to-do time as the start time. Therefore, select the formula to obtain the one hour before the to-do time. The formula is as follows:
{"text":"待办时间-3600000","marks":[{"from":{"line":0,"ch":0,"sticky":null},"to":{"line":0,"ch":6,"sticky":null},"value":"dateField_ktdsh2ko","invalid":false}],"isCmData":true}
Remarks 」: Optional. Select fields in the form and to-do content.
Schedule organizer 」: Required. Select the field in the form and the member component to-do initiator.
End time 」: Required. Select fields in the form and to-do time.
3. Achieve results
-------------------- Get the latest information YIDA, welcome to follow US--------------------