- Include the “SharePoint – When a thing is made” trigger.
- Include the “Send an email warning” activity to remind the client that the accommodation is effective.
- Include the “Instate variable” activity. This activity is utilized for getting the approvers from a predetermined SharePoint gathering. In this model, we are utilizing activate office 365
- Include the “Send a HTTP solicitation to SharePoint” activity and utilize the REST API to get the approvers from the SharePoint gathering. The full content in the Uri field should peruse:/_api/web/sitegroups/getbyname(‘Approver Group’)/clients. What’s more, rename it to “GetApproversGroup”,
- There are two explicit strides to add the email of every one of the approvers to the “emailList”. Right off the bat, include the “Apply to each” activity and fill the field an incentive with: body(‘GetApproversGroup’)[‘d’][‘results’]. What’s more, rename it to “ForEachApprover”,
- Furthermore, include the “Affix to string variable” activity inside it. The full content in the worth field should peruse: items(‘ForEachApprover’)[‘Email’]
6. Include the “Begin and sit tight for an endorsement” activity and select “Support/Reject – First to react” for endorsement type. Arrange it to send the endorsement to the approvers.
7. Include a “Condition” to deal with the reaction from the endorsement, we can arrange it to send various messages to the submitter.
Presently, at whatever point a thing is made in the SharePoint list, your stream will be activated and send the email to the submitter and endorsement solicitation to the approvers.