(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

Procedure

  1. In the Process Builder, go to the Activity Library, and open the SharePoint tab.
  2. On the SharePoint tab, drag the Create List Item activity onto your process.
  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.