(Example) Configure a Create List Item Activity to Put the Leave Information in the SharePoint List

To configure a Create List Item activity to create a SharePoint list item for the leave information, do the procedure in this topic.

Prerequisites

  • (Example) Create a SharePoint Access Token.
  • A SharePoint subsite with the name Documentation.
  • A SharePoint list with the name Absence Request.
  • In the Absence Request SharePoint list, columns named Absence Date, Absence Type, and Hours.

Good to Know

How to Start

  1. (Example) Create a Process-Based App for an Absence Request.
  2. (Example) Create a Human Resources Leave Verification Subprocess.
  3. (Example) Configure an Initialize Loop Activity to Store the Leave Information.
  4. (Example) Configure a Condition Activity to Check the Leave Information.
  5. (Example) Configure a Next Loop Activity to Repeat Store Leave Information Action in the Human Resources Subprocess.

Procedure

  1. In Process Builder, in the Activity Library, and open the SharePoint tab.

    Open SharePoint tab
  2. On the SharePoint tab, drag the Create List Item activity onto your process.

    Create List Item activity
  3. On the General Configuration screen, in the Display Name field, enter Add Leave Information to the List.


  4. Click Next.
  5. On the Create List Item Configuration screen, click the Configuration tab.
  6. On the Configuration tab, in the SharePoint list, select SharePoint List Item Access Token.


  7. In the Site list, select /Documentation.


  8. In the List field, select Absence Request.


  9. Click SharePoint List tab.


  10. In the Value field of Absence Type, drag the AbsenceType process data variable from the Process Data > Form Data screen.


  11. In the Value field of Absence Date, drag the AbsenceDate process data variable from the Process Data > Form Data screen.


  12. In the Value field of Hours, drag the Hours process data variable from the Process Data > Form Data screen.


  13. Click Finish.
  14. The Process Builder shows the Add Absence Record to List activity in the example human resources leave verification subprocess.