Email send to users and sharepoint group when list item changes status
I am very new to designer to write workflow. I hope you guys will help to figured it out. I have list which has one dropdown item called "App Change Request Status". Dropdown items are "Submitted,Assigned, Estimated".
When "Submitted" Selected Email needs to send below users.
Send to SharePoint Group "IT Senior Mangers"
When "Assigned" Selected Email needs to send below users
Send to Project Manger - (Person or Group) - it is column in the list
When "Estimated" Selected Email needs to send below users
Send to SharePoint Group "Data Gov Group" When "Type Of Change" is "New Project"
Send to item created by
Please provide me steps to do this in share point designer. I am using SharePoint 2013 foundation.
ItsMeSri SP 2013 Foundation
hi,
use the below link to create workflow in sharepoint designer 2013
http://msdn.microsoft.com/en-us/library/office/jj554671(v=office.15).aspx
Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer
Similar Messages
-
Add user to sharepoint group using REST API
I am trying to add a user to sharepoint group with following code
serviceUrl= Appweb + "/_api/SP.AppContextSite(@target)/web/sitegroups("+GroupId+")/users?@target='host web'";
$.ajax({
url: serviceUrl,
type: "POST",
contentType: "application/json; charset=utf-8",
dataType: 'json',
body: "{'__metadata': { 'type': 'SP.User' },'LoginName':'i:0#.f|membership|'+email }",
headers: {"accept":"application/json;odata=verbose",
"content-type": "application/json;odata=verbose",
"X-RequestDigest":$("#__REQUESTDIGEST").val()
async: false,
success: function (data) {
alert('success');
error: function (data) {
alert('fail');
The request goes to error function. Response of the request is Microsoft.SharePoint.Client.InvalidClientQueryException and message is A node of type 'EndOfInput' was read from the JSON reader when trying to read the start of an entry. A 'StartObject' node was
expected
I tried the sample from following link but fail it
https://msdn.microsoft.com/en-us/library/office/dn531432.aspxHi,
Per my understanding, you might want to add an user to a SharePoint group in host web from a SharePoint Hosted App using REST API.
Here is a working demo for your reference:
var hostweburl;
var appweburl;
$(document).ready(function () {
//Get the URI decoded URLs.
hostweburl = decodeURIComponent(getQueryStringParameter("SPHostUrl"));
appweburl = decodeURIComponent(getQueryStringParameter("SPAppWebUrl"));
// Resources are in URLs in the form:
// web_url/_layouts/15/resource
var scriptbase = hostweburl + "/_layouts/15/";
// SP.RequestExecutor.js to make cross-domain requests
$.getScript(scriptbase + "SP.RequestExecutor.js", loadPage);
// Utilities
// Retrieve a query string value.
// For production purposes you may want to use a library to handle the query string.
function getQueryStringParameter(paramToRetrieve)
var params = document.URL.split("?")[1].split("&");
for (var i = 0; i < params.length; i = i + 1)
var singleParam = params[i].split("=");
if (singleParam[0] == paramToRetrieve) return singleParam[1];
function addUsersInGroup() {
var executor;
// Initialize the RequestExecutor with the app web URL.
executor = new SP.RequestExecutor(appweburl);
executor.executeAsync({
url: appweburl + "/_api/SP.AppContextSite(@target)/web/sitegroups(8)/users?@target='" + hostweburl + "'",
method: "POST",
contentType: "application/json; charset=utf-8",
dataType: 'json',
body: "{'__metadata': { 'type': 'SP.User' },'LoginName':'i:0#.f|membership|[email protected]'}",
headers: {
"Accept": "application/json; odata=verbose",
"content-type": "application/json;odata=verbose",
"X-RequestDigest":$("#__REQUESTDIGEST").val()
success: addUsersInGroupSuccessHandler,
error: addUsersInGroupErrorHandler
function addUsersInGroupSuccessHandler(data)
console.log(data);
var jsonObject = JSON.parse(data.body);
console.log(jsonObject);
function addUsersInGroupErrorHandler(data)
console.log(data);
var jsonObject = JSON.parse(data.body);
console.log(jsonObject);
Thanks
Patrick Liang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]. -
Getting list of all users and their group memberships from Active Directory
Hi,
I want to retrieve a list of all the users and their group memberships through JNDI from Active Directory. I am using the following code to achieve this:
==================
import javax.naming.*;
import java.util.Hashtable;
import javax.naming.directory.*;
public class GetUsersGroups{
public static void main(String[] args){
String[] attributeNames = {"memberOf"};
//create an initial directory context
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, "ldap://172.19.1.32:389/");
env.put(Context.SECURITY_AUTHENTICATION, "simple");
env.put(Context.SECURITY_PRINCIPAL, "[email protected]");
env.put(Context.SECURITY_CREDENTIALS, "p8admin");
try {
// Create the initial directory context
DirContext ctx = new InitialDirContext(env);
//get all the users list and their group memberships
NamingEnumeration contentsEnum = ctx.list("CN=Users,DC=filenetp8,DC=com");
while (contentsEnum.hasMore()){
NameClassPair ncp = (NameClassPair) contentsEnum.next();
String userName = ncp.getName();
System.out.println("User: "+userName);
try{
System.out.println("am here....1");
Attributes attrs = ctx.getAttributes(userName, attributeNames); // only asked for one attribute so only one should be returned
System.out.println("am here....2");
Attribute groupsAttribute = attrs.get(attributeNames[0]); // memberOf
System.out.println("-----"+groupsAttribute.size());
if (groupsAttribute != null){
// memberOf is a multi valued attribute
for (int i=0; i<groupsAttribute.size(); i++){
// print out each group that user belongs to
System.out.println("MemberOf: "+groupsAttribute.get(i));
}catch(NamingException ne){
// ignore for now
System.err.println("Problem encountered....0000:" + ne);
//get all the groups list
} catch (NamingException e) {
System.err.println("Problem encountered 1111:" + e);
=================
The following exception gets thrown at every user entry:
User: CN=Administrator
am here....1
Problem encountered....0000:javax.naming.NamingException: [LDAP: error code 1 -
000020D6: SvcErr: DSID-03100690, problem 5012 (DIR_ERROR), data 0
]; remaining name 'CN=Administrator'
I think it gets thrown at this line in the code:
Attributes attrs = ctx.getAttributes(userName, attributeNames);
Any idea how to overcome this and where am I wrong?
Thanks in advance,
Regards.In this sentence:
Attributes attrs = ctx.getAttributes(userName, attributeNames); // only asked for one attribute so only one should
It seems Ok when I add "CN=Users,DC=filenetp8,DC=com" after userName, just as
userName + ",CN=Users,DC=filenetp8,DC=com"
But I still have some problem with it.
Hope it will be useful for you. -
Can I add Users and/or Groups?
Hi,
Can I add Users and/or Groups in a Realm from my webapplication?
(not using administrative console....but from my code)
Tanks by
Angelo.Yes.
"Angelo" <[email protected]> wrote:
>
Hi,
Can I add Users and/or Groups in a Realm from my webapplication?
(not using administrative console....but from my code)
Tanks by
Angelo. -
PS Script to find the list of users and the groups in a Workgroup server
Hi There, could you please explain on how to get a complete list of local users and local groups in a "Workgroup" server to which they belong to using Powershell. I'm able to get the users list but couldn't find any help in finding
the script to find to which localgroup the user belong to. Anticipating your response. Also let me know the cmdlet for Win2k3 servers to find the same.Here's some code from David Pham (don't remember wher I fund this code):
Trap {"Error: $_"; Break;}
Function EnumLocalGroup($LocalGroup)
$Group = [ADSI]"WinNT://$strComputer/$LocalGroup,group"
"Group: $LocalGroup"
# Invoke the Members method and convert to an array of member objects.
$Members= @($Group.psbase.Invoke("Members"))
ForEach ($Member In $Members)
$Name = $Member.GetType().InvokeMember("Name", 'GetProperty', $Null, $Member, $Null)
$Name
# Specify the computer.
$strComputer = gc env:computername
"Computer: $strComputer"
$computer = [adsi]"WinNT://$strComputer"
$objCount = ($computer.psbase.children | measure-object).count
$i=0
foreach($adsiObj in $computer.psbase.children)
switch -regex($adsiObj.psbase.SchemaClassName)
"group"
{ $group = $adsiObj.name
EnumLocalGroup $group }
} #end switch
$i++
} #end foreach -
Report of Users and their groups
Hi Experts,
Is there a way to extract all the Hyperion Planning Users and the groups they belong in Hyperion 11.1.2.1 version? I need an excel file having the users and groups.
Thanks
Kannan.Hello Kannan,
Yes, a clean list of Users with their Groups...
Nothing standard. Strange...
You might see if this export has something you can use. I do not recall it from the vast amount of detail exported here. The file will be generated on the server, so you might need somebody to pick it up and give it to you.
MaxL command
export security_file to data_file "essbase_security_file.txt";
The alternative is to query the Planning repository. Maybe somebody has experience with this?
Regards,
Philip -
Can not synchronize the SAP NW UME users and system groups with SSM
We have created a demo enviroment for a client demo.
In SAP NW UME:
1. Create the system group.
2. Asing the goup created to the admin user (pipadmin).
In Administrator's user interface:
3. Acces to Administration > Set System Defaults in order to synchronize user tables. The data informed in the fields are:
SSM Administrator = pipadmin
Cache directory = C:Program FilesSAPSSMInternetPubcache
Global cache setting = Enable
End point = <IP:port>
User name = pipadmin
pasword = ······
cache = Enable
Then we click on syncronize tables (Administration > Set System Defaults). The "Update compled" message is showed but users and application group don't appear in the Administration > Manages Application Groups.
Note: We tried to syncronize yesterday and we recieved the message: restart the SSM Extended listener.Thank you for your answer Bob.
Yes, I restarted the SSM Extended listener after all the steps.
Do you know if there is another missing step?
Regards,
Santiago -
Email notification when custom list item changes
Hi
I have a custom list with a workflow that emails me when an item changes from the list.
I want to add the fields that have changed to the email. Perhaps the email could contain the old value and the new value. How can I achieve this using the workflow?
Marc Collins www.QGate.co.ukHi,
According to your description, you might want to send an email with the fields that have changed and the old/new value of these fields.
With the OOTB workflow actions, it won’t be able to achieve what you want, customization with code would be required.
As an OOTB workaround, I would suggest that you enable versioning on this list, then when there is change in an item, there will a record in the version history of
the corresponding item.
More information about versioning for a list:
https://support.office.com/client/Enable-and-configure-versioning-for-a-list-or-library-1555d642-23ee-446a-990a-bcab618c7a37
Once the versioning been enabled, we can put the URL of the changed item in the email, when user clicks it, it will redirect to the DisplayForm of this item, there
we can check the version history of this item.
Feel free to reply if there any question.
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
contact [email protected]
Patrick Liang
TechNet Community Support -
I have a pdf on my system. When I opened it it should email the current user account and system information( like IP, Windows login Id). If the system does not have internet it should not show the error.
Is it possible? If so could you suggest a way or provide a link.
Due to security we want this feature.
Your help is appreciated.
ThanksYou could track the user's email login/IP address if you secure the file using DRM (LiveCycle, etc.), but a PDF which sends silent emails containing personal data about a user would be considered a trojan by the vast majority of people.
-
Send Email to Anonymous user thoruhg Sharepoint online custom web part
Hi All
Can you please suggest me how we can send Email to anonymous user?
I have create the custom contact us web part as a sandbox solution (For SharePoint Online public facing site) with following fields
Name: txtName
Email: txtEmail
Phone No: txtPhoneNo
Company Name: txtCompany
Message: txtMessage
Now I want to send the Email (txtEmail) to anonymous user which have fill the contact us form.
Note: I am using SharePoint Online public facing site
Thanks
Deepak Chauhan
SharePoint 2010 & 2013 and Office-365 Branding and Front End Customization, UI DesignHi Mokhtar
I have solved my problem Email send properly but i am using SharePoint online site when
we log In and then fill the contact us form so that mail send properly but when anonymous user fill the contact us form without log In so
that Email not send can you please suggest me how workflow work for anonymous user
Thanks
Deepak
Chauhan
SharePoint 2010 & 2013 and Office-365 Branding and Front End Customization, UI Design -
Send email to Affected user and Supervisor
Hello,
For certain Incident Requests we would like the ability to send an email to the Affected User and also their supervisor or co-worker once the respective incident has been completed. We have a number of staff members that job share so we would like to keep
both users in the loop when an incident that may affect both users has been resolved.
Can anyone advise a way for us to achieve this?
Thanks for your timeProbably the easiest way to do this would be to create a notification rule that triggers when an incident is resolved and notifies the affected user that their problem is believed fixed. this is something you should probably just have the system do for all
tickets.
start by
building a notification template that you like, and then use that template in a
notification subscription.
a similar process can be done for the Primary Owner, which is often used as either the service desk tech who is responsible for user communocation for the incident or an interested third party, like a manager or coworker.
you might also want to expose the requested By user relationship and use that as another notified party (System.WorkItemRequestedByUser), but this is more advanced form and workflow XML editing. -
LDAP- When importing a Group it goes into Security Users and not Groups.
Hello,
I created a new LDAP Server
cn=GroupBI,OU=Groups,OU=Systems,OU=Milan,OU=Italy,OU=Countries,DC=u,DC=a,DC=g
Connection Test was ok.
The problem is on importing members of my group, on Security Import window instead of having the group drop-down list populated I have the user drop-down list populated with "GroupBI".
If I import this group (considered as a user by BI) it goes into Security > Users and not Security > Groups.
This does not make sense.
I'm sure this "GroupBI" is a group and not a user and the atribute type used is sAMAccountname
Any help?
CheersLet me tell how we did Authentication using LDAP
I havent imported any groups or users once the LDAP is set up and connection was successfull. I simply created the session variables USER DISPLAYNAME EMAIL and mapped to LDAP Variables uid, displayname, mail.
Authentication is done in this way by mapping the OBIEE variables to LDAP variables instead of importing the groups.
Now for Authorization I created the groups populated using some db tables and captured the group name and loglevel and applied filters on the group in the rpd for data level and permissions on the group in webcat for object level.
So just for Authentication purposes I think we can authenticate with out really importing groups as long as you map OB variables to LDAP
hope it helps
Prash -
Email selected users issue - sharepoint group
Hi
When we select a few users in the first page of the group and when we navigate to the second page, all the users that we selected on the first page are unselected. Is this the known issue or is it only in our environmentits a known issue . Your selection is not kept when you change you go to next page .
The possible solution that i can come up with is :
go to the people and group-->select group ==> settings ==> List settings scroll to bottom of page ==>under view click list view . again scroll down and yoou will see item Limit section now expan it == > change the number of items to
display to increase the number from default "30 " to "300" or "500" as per the limit of members you want top select to and then say ok .
Now when you go back to the group you will have ann the members and you can slect and your selection will not be lost -
People Picker can resolve users and security group from another domain but no validation for groups
Dear all,
Here is the scenario of our issue:
We are migrating from Domain A to Domain B and in Domain A we currently have a SharePoint 2013 on which we want to set permissions for users and groups that have already migrated to Domain B.
A bi-directional trust exist between the two domains and all applications relying on trust and resolving IDs from on domain to another are working fine (Windows RDS for instance)
The "bug" that we have is when using the PeoplePicker, it can resolve without any issue a user account in Domain A or B, and a security group (type global, I haven't tried local or universal yet) from domain A or B. But for the security groups
only (it works well for users), when I click on "Save" to validate the add of the group to the site permissions, I have the following error:
I have seen a lot of similar issues on the web but no answer so far that work :(
Example: https://social.technet.microsoft.com/forums/sharepoint/en-US/74e8d14b-a0f4-4e21-8cfa-b1a937247160/cant-provision-security-to-old-domain-users
If you have any question that could help you to understand it, do not hesitate.
Thanks a lot in advance for your help ! :)Can you give the snippet from the ULS log where you're seeing this error?
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Added user to SharePoint Group -- Not inheriting the groups rights
Hello,
I created a SharePoint 2013 Workflow, where a subsite is being created and after that, the workflow will create a Group with "full control" rights on the subsite. At the end, I add the workflow Initiator to the group. All is done by the REST Api
like declared in many tutorials.
Everything is working fine so far, I can Access the site, the group is there with correct privileges and it contains the desired user I am adding with the workflow.
The strange Thing happens, when I try to surf on the site with that user from the group, because he has no rights at all. Even with the "check permissions" under the Website Settings, there is no permission listed.
Can anyone explain this to me? It feels like a bug for me, or did I Forget to make something like an "update" command after adding the user?
Many thanks in advance!I haven't seen this with SharePoint groups, but have seen similar behavior with AD groups. With AD groups its a problem associated with the claims token timeouts. The solution there was to decrease the timeout for the claims token or wait 24
hours for the token to timeout. I suggest waiting a day to see if the user shows up in Check permissions tomorrow.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.
Maybe you are looking for
-
How Do I Back Up Movies And Music I Download?
I usually will download Movies and Music onto my Mac and then sync it up with my iPad and iPod. How do I make sure all my Movies and Music are backed-up from my Mac? Does Time Machine back this stuff up? Thanks!
-
Why does my iphone have and enguged tone and can't receive any calls?
Why does my iphone have an engauged tone and I can't receive any calls?
-
Question on LDAP integration & user deletion
In the "Administration Console Help" Document it states: "You cannot invite user accounts that are mastered in an LDAP-based user directory; these accounts are created automatically when you synchronize the LDAP directory." Does this mean that after
-
Can't send mail, get message: the smtp server rejected the password. I tried lock and unlock keychain. I tried unlock captcha. Gmail works okay, it is Mail that does not. Help!!
-
Protected and public access modifier - exact difference
Hi everybody, Please help me to give an exact difference between protected access modifier and public Protected: Classes with in the same package as well as subclasses can access. Public : Classes outside the current class can access while declaring