how to count number of items in workflow 2013 - sharepoint

I want to create a Sharepoint workflow in 2013 which will send the email to Assigned users-
If there are 5 items for A user, 10 for B users and 15 for C user then email will be triggered to A,B and C with respective count of items.
Can anyone please share any solution?

Call rest api in workflow to get items based on user, demo to call rest api in SharePoint workflow
Then
SharePoint Designer Workflow Item Count
rest api to filter user field

Related

Sharepoint Workflow - Prompt user to input approver

I am using power automate to create a document approval workflow, and would like the user to be prompted/asked to select the people reviewing the document. The point is that we have many approvers in our team and I do not want to hardcode the e-mail address of one user only.
You could use the trigger as shown below:

how to change share point workflow are complete

In SharePoint 2010, i created an info path form and submitted it to SharePoint.
With Microsoft SharePoint designer i created a workflow for this form.
At this workflow I implemented removing permission from some group and getting contribute access to 2 person.
Now after 3 month, there are 450 item in form library.
And i want to add another person to (2 persons) that have contribute access.
So, i changed workflow in SharePoint designer.
It is correct for new items that created after this time. but i want this new workflow set to old item that before 3 month created!
how can I do that?
If I've understood the question correctly. That you want to add the new person to the existing permissions. Then don't do it through workflow.
Assuming that your 450 forms mean that there are 450 groups that need to be changed, the easiest way is to create a list of the group names and use PowerShell to add the new user to all of the groups.
Better still if you can, would be to create an Active Directory Security Group with the 3 people in it and apply that to all of the SharePoint groups. Then you will never have to go through the same exercise again as you can simply change the AD group and the SharePoint groups will all be correct.

Send SharePoint list information through an Email

How can I send details of SharePoint List Items though email without SharePoint development.
i.e
I have a list with 5 columns, and I want to send an automated email once the list item is saved ,which should include details of all 5 columns.
I know Workflow wouldn't help
I am using SharePoint 2010
I think alert will help you in this case, set an alert at list level so that when an item is added it will notify the user with email address.
But this thing to work , you must have Outbound email setup in central administration.
Hope this helps

Send an e-mail based on Workflow approval status using Sharepoint 2007

I am new to sharepoint. I am using sharepoint 2007. I have a following requirement.
1) Custom list has various fields ... Requestor, Application Name, Reason, etc..
2) When person fill out the form (custom list). It will send a notification to Approvers for review and based on Request action : Approved --> It will send an e-mail notification to specific group.
I have a setup a document approval workflow on custom list. Workflow works fine but I don't know how to send an e-mail notification based on workflow status : Approved. I have tried to create a another workflow using Sharepoint Designer 2007 but didn't work.
I would like to know whether it is possible without doing any programmatic way ? I would appreciate your reply.
Thanks in advance.
This is more like a SharePoint Designer Workflow, which responds to actions and rules.
You can get an introduction here
follow the steps ,these are the main steps you can have a try:
Create workflow attach to the list and start it manually & auto
start it when a new item is created & auto start it when an item is
modified.
Add Collect data from a User action. Click data and add a choice field (named it approval, give two choices: approve, reject)
in the custom task wizard. Output to Variable:collect
Add a new step, Conditions: if Variable:collect equals to Approve Actions: Send email to Created by
Collect (main manager) data from a user. Output to Variable:collect1(similar with step 2) Conditions: if
Variable:collect1 equals to Reject Actions: Send email to
Created By.
Add new step similar with step 3. Send approve email to Created By when Variable:collect1 equals to Approve or send reject
email when Varible:collect1 equals to Reject.
here is one of bolg which also you can refer
http://www.gandhipritesh.com/2009/07/create-custom-approval-workflow-using.html

SharePoint VS workflow emailing to a SharePoint group

I have a code activity that sends an email in a VS workflow. It simply sets the 'To' property to the name of a SharePoint group in the site collection. However, only the 1st person in the group gets emailed.
Any ideas why this is happening?
thanks
Does your group contain anything other than just users (ex: distribution lists, ad groups)?
If this is still a problem and you need to be able to send to a SharePoint group, I would recommend writing a custom workflow Action that would gather the emails of all the users in a specified group (you can find many tutorials online on how to make a custom action).
Turned out it was not even emailing the first user. I decided to extract the user emails programatically instead. Works fine.

Resources