Using an Email Alias in a SharePoint 2013 Workflow created in Designer

Hello,
I would like to use an email alias for a workflow that was created in Designer, I don't want the workflow email address to look like it was sent from the system or myself I'd like to use an email address our generic email address that our department uses. 
I cannot see a way to do this.   All the email address we are trying to use are in our AD and are active.  Here is an example of what I am trying to do... 
We’re going to be using a few forms I’ve created on SharePoint so that colleagues may submit requests for additional resources for virtual environments. In order for us to track the requests I’d like them to be dumped into the LT-Infrastructure
board inside of ConnectWise, and the best method to do that would be via email.  Is it possible to have the email come out on a different address? (ex.
[email protected]) After configuring the workflow and sending out a test I realized that its coming from
[email protected](which I assume replied to you).
Thank you in advance for your help.
Joanie

Hi Jdd,
Thanks for posting your issue, Kindly browse the below mentioned URL to fix your issue
http://www.lynda.com/SharePoint-tutorials/Using-email-aliases-easy-workflow-maintenance/144025/161261-4.html
I hope this is helpful to you, mark it as Helpful.
If this works, Please mark it as Answered.
Regards,
Dharmendra Singh (MCPD-EA | MCTS)
Blog : http://sharepoint-community.net/profile/DharmendraSingh

Similar Messages

  • SharePoint 2013 Workflow created on SharePoint Designer gets canceled

    Just wanted to share my solution to a problem that I was having when creating a SharePoint 2013 Workflow that includes creating a task and assigning it to a group of people. After publishing the workflow and initiating it you get:
    Retrying last request. Next attempt scheduled in less than one minute.
    Microsoft.SharePoint.Client.ResourceNotFoundException: Cannot find resource for the request sp.utilities.utility.ExpandGroupsToPrincipals
    An unhandled exception occurred during the execution of the workflow instance.
       Exception details: System.ApplicationException: HTTP 404 {"error":{"code":"-1, Microsoft.SharePoint.Client.ResourceNotFoundException",
       "message":{"lang":"en-US","value":"Cannot find resource for the request sp.utilities.utility.ExpandGroupsToPrincipals."},
       "innererror":{"message":"Cannot find resource for the request sp.utilities.utility.ExpandGroupsToPrincipals.",
       "type":"Microsoft.SharePoint.Client.ResourceNotFoundException","stacktrace":" at
       Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPathRoot(Boolean mainRequestPath, EdmParserNode node, Boolean resourceEndpoint, MethodInformation& methodInfo)\u000d\u000a at
       Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPath(Boolean mainRequestPath, String path, String pathForErrorMessage)\u000d\u000a at
       Microsoft.SharePoint.Client.Rest.RestRequestProcessor.Process()\u000d\u000a at
       Microsoft.SharePoint.Client.Rest.RestRequestProcessor.ProcessRequest()\u000d\u000a at
       Microsoft.SharePoint.Client.Rest.RestService.ProcessQuery(Stream inputStream, IList`1 pendingDisposableContainer)"}}
       } {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["46"]
       ,"SPRequestGuid":["624f66f8-a70c-81db-bf0d-c042443f5435"],"request-id":["624f66f8-a70c-81db-bf0d-c042443f5435"],
       "X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4569"],"X-Content-Type-Options":["nosniff"],
       "X-MS-InvokeApp":["1; RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Mon, 06 Apr 2015 22:17:23 GMT"],
       "Server":["Microsoft-IIS\/8.0"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]} at
       Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at
        System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at
        System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    I was not able to find any answer anywhere, so my solution was:
    1. Simply upgrade SharePoint Server 2013 to the latest version which in turn updates Microsoft.Activities.Proxy.dll
    2. Clear the SharePoint Designer cache
      Workflow Error - Sharepoint Designer cannot display the item
       http://community.office365.com/en-us/f/154/t/74327.aspx
    I hope this is helpful to somebody
    Thanks

    Hi,
    I doubt its not possible.
    http://stackoverflow.com/questions/17925555/windows-workflow-4-appfabrix-1-1-suspended-workflow-will-not-resume
    http://social.msdn.microsoft.com/Forums/en-US/fd85c5f9-36dd-4be5-872f-9ba73b1eb0b8/appfabric-11-for-windows-server-versus-workflow-manager-10?forum=wfprerelease
    http://seroter.wordpress.com/2012/11/02/interview-series-four-questions-with-jrgen-willis/
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • How to Construct the Email To activity in SharePoint 2013 Workflow

    I have a created a custom workflow and custom association and initiation form using SharePoint 2013.
    My Assn. form is fine.  I pass in the people picker (Active Directory group) value to my workflow just fine.
    Now on my Init form I use the passed in value from people picker and display a list of users and email addresses from the people picker group.  The list of users and email addresses are listed in a table with a check box to the left of each row. I am
    using JQuery, Knockout and MVC web service to retrieve the values from the group.
    All is well.
    Now my users pick who they want to send the email to.  Let's say they pick two users!
    When the user clicks the submit button, I have JSOM code which starts the workflow and sends in the 2 users email addresses as an argument to theworkflow.
     Note:  I tried sending my two emails as a collection and failed.  So i converted it to a string.  The variable is called strUsers.
    Since the argument is a string and Email Activity requires the To attribute to be an array, I use the BuildCollection<String> Activity to convert my string to an array.
    Now in my workflow I use WriteToHistory Activity to write out my BuildCollection variable (recipients).  Here's what is sent to the workflow history... [email protected];joejones@yahoo,com)  Note:
     Both names are bogus and I'm not Joe Jones.
    I then configure the email Activity and set to To property to my BuildActivity variable (recipients).
    When I deploy my Visual Studio 2013 solution, and attach my workflow to a publishing page, I am getting this error after I submit the Init form.
    An unhandled exception occurred during the execution of workflow instance.  System.ArgumentNullException.
    Does anyone know of an example of how to set up the Email To collection value.
    Note:  I tried using comma and semi-colon for my string (strUsers).  Neither worked.
    Thanks
    Tom
    none

    I think I'm getting close.
    Here’s an
    article
    that helped me out and below is my code.  Note:  I added a ParseDynamicValue and GetDynamicValueProperty to push the data from the "emails" property to colleciton of strings called EmailCollect.
    Here is what the data look likes
    The value of Selected Emails is [{"emails":"[email protected]"},{"emails":"[email protected]"}]
     Code excerpt in InitiationForm.  Note:  I am using MVVM and Knockout for the selected users from a list with checkboxes.
                    //build array for workflow 
                  var emailUsers =
    new Array();
                    //cycle through viewmodel emails
    for (var
    i = 0; i < viewModel.SelectedEmails().length; i++)
    var a =
    new Object();
                        a["emails"]
    = viewModel.SelectedEmails()[i];
                        emailUsers.push(a);
    wfParams['strSelectedEmailsHMgr']
    = JSON.stringify(emailUsers);
                     // Get workflow subscription
    and then start the workflow
    var context = SP.ClientContext.get_current();
    var wfManager = SP.WorkflowServices.WorkflowServicesManager.newObject(context, context.get_web());
    var wfDeployService = wfManager.getWorkflowDeploymentService();
    var subscriptionService = wfManager.getWorkflowSubscriptionService();
                    context.load(subscriptionService);
                    context.executeQueryAsync(
    function (sender, args) {
    // Success
    var subscription =
    null;
    // Load the workflow subscription
    if (subscriptionId)
                                subscription = subscriptionService.getSubscription(subscriptionId);
    if (subscription) {
    if (itemId !=
    null && itemId !=
    // Start list workflow
                                    wfManager.getWorkflowInstanceService().startWorkflowOnListItem(subscription,
    itemId, wfParams);
    Now I deploy and publish the workflow but now I’m getting this error when trying to 
    System.InvalidOperationException: Looking up a value using a key is not supported on an instance of 'Microsoft.Activities.Dynamic.DynamicJsonArray'. at Microsoft.Activities.Dynamic.DynamicItem.TryGetValue(String
    key, DynamicItem& value) at Microsoft.Activities.Dynamic.DynamicValueBuilder.PathSegmentFactory.ObjectPathSegment.Get(DynamicItem obj) at Microsoft.Activities.GetDynamicValueProperty`1.Execute(CodeActivityContext context) at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance
    instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    none

  • Has any one worked on sharepoint 2013 workflows using visual studio.

    Has any one worked with sharepoint 3013 workflows using visual studio.

    Hi,
    To develop SharePoint 2013 workflow using Visual Studio, you can refer to:
    Develop SharePoint 2013 workflows using Visual Studio
    Create a SharePoint workflow app using Visual Studio 2012
    Get started with workflows in SharePoint 2013
    Thanks,
    Linda Li                
    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]
    Linda Li
    TechNet Community Support

  • Is it supported to use shared mailboxes in SharePoint 2013 Workflows?

    We try to send an email to a shared mailbox (Exchange 2007) from a workflow in SharePoint 2013. No errors are shown in the workflow but the message does not arrive in the mailbox. If we do the same with an user mailbox it works.
    Both Exchange and SharePoint are on-premises.
    Is it supported to use shared mailboxes in SharePoint 2013 Workflows?

    If it is a mailbox then mail should be delivered.
    Please check if mail is in C:\Inetpub\ pickup or drop folder
    also check if emails to normal mailbox works fine

  • SharePoint 2013 Workflow - Change the From Address for an email

    Hello
    I am creating a SharePoint 2013 Workflow Manager Workflow to send out an email when a document is uploaded to a document library. I want to set the From address for the Email activity added to my Workflow. There is no option in Properties to change this.
    This used to be done when creating a SharePoint 2010 workflow in Visual Studio 2012.
    How can I add a From email address for my workflow?
    Thanks
    Yoshi

    Having problems getting SPD 2013 installed on my laptop because of a trial of O365, but I know in SPD 2010 you could find the BCC fields, etc... in the Advanced properties, it wasn't directly available via the common interface.  I know 2013 is very
    different from 2010, and if I can get it to install correctly, I will update, but look for an advanced property, or an XML view where you can find the FROM: field.

  • Can i use Report viewer web part in SharePoint 2013 app to show SSRS reports?

    Can i use Report viewer web part in SharePoint 2013 app to show SSRS reports?

    SharePoint app you mean a simple sharePoint 2013 application like site, team site etc, or do you mean an App (the new feature like webPart).
    To add a SSRS Report viewver web part follow these steps
    1. Edit the page
    2. Choose insert a webpart
    3.Select SQL server Reporting -> SQL Server Reporting Services Report Viewer webpart
    4. Configure the webpart to show your .rdl files.
    (See the img below. Plz mark as answered if it helps).

  • Create SharePoint 2013 workflow using visual studio 2013

    Dear Team,
    How  to create a workflow for template approval process using visual studio 2013.To achieve this do i need to install share point on my machine.

    Hi,
    According to your post, my understanding is that you want to create a SharePoint 2013 workflow using Visual Studio 2013.
    We need setting up and configuring Microsoft SharePoint Server 2013 and the Workflow Manager Client 1.0 server, see Start:
    Set up and configure SharePoint 2013 Workflow Manager.
    The following materials for your reference:
    Develop SharePoint 2013 workflows using Visual Studio
    http://msdn.microsoft.com/en-us/library/office/jj163199(v=office.15).aspx
    How to: Create SharePoint 2013 Workflows using Visual Studio
    http://msdn.microsoft.com/en-us/library/office/dn584771(v=office.15).aspx
    Developing SharePoint 2013 workflows with Visual Studio demo
    http://www.bing.com/videos/watch/video/developing-sharepoint-2013-workflows-with-visual-studio-demo/10t0er5gh
    Best Regards
    Dennis Guo
    TechNet Community Support

  • SharePoint 2013 Workflow Lookup Column Error

    When I try to use the value from a lookup column (e.g. display the selected value in the body of a email) in a SharePoint 2013 workflow I receive the following error. It works fine if I use the SharePoint 2010 workflow platform, but I always receive a error
    with 2013.
    First Error:
    Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP NotFound to http://portal.test.com/sites/Test/_vti_bin/client.svc/web/lists/getbyid(guid'00000000-0000-0000-0000-000000000000')/Items(10)?%24select=ID%2CLookupId%2CLookup%2FTitle&%24expand=Lookup
    Correlation Id: 3fb1bac9-f4b6-bbf1-a664-b3748668ea3c Instance Id: e7b4064d-029d-4a8b-9a75-7939f10e8817
    <script type="text/javascript">// <![CDATA[ var errorMessage = "Something went wrong. To try again, reload the page and then resume
    the workflow."; var dlg = null; function RetryWorkflow4(instanceName) { showDialog(); var ctx = SP.ClientContext.get_current(); var wfManager = SP.WorkflowServices.WorkflowServicesManager.newObject(ctx, ctx.get_web()); var instanceService = wfManager.getWorkflowInstanceService();
    var instance = instanceService.getInstance(instanceName); instanceService.resumeWorkflow(instance); ctx.executeQueryAsync( function(sender, args) { closeDialog(); theForm.submit(); }, function (sender, args) { closeDialog(); alert(errorMessage); } ); } //
    ]]> </script>
    Error from SharePoint Logs:
    Microsoft.SharePoint.SPException: List does not exist.  The page you selected contains a list that does not exist. 
    It may have been deleted by another user. ---> System.Runtime.InteropServices.COMException: List does not exist. 
    The page you selected contains a list that does not exist. 
    It may have been deleted by another user.     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt,
    Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount)
        at Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32
    dwListFilterFlags, Boolean bPrefetchMetaData, Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount)    
    --- End of inner exception stack trace ---    
    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)    
    at Microsoft.SharePoint.Library.SPRequest.GetListsWithCallback(String bstrUrl, Guid foreignWebId, String bstrListInternalName, Int32 dwBaseType, Int32 dwBaseTypeAlt, Int32 dwServerTemplate, UInt32 dwGetListFlags, UInt32 dwListFilterFlags, Boolean bPrefetchMetaData,
    Boolean bSecurityTrimmed, Boolean bGetSecurityData, Boolean bPrefetchRelatedFields, ISP2DSafeArrayWriter p2DWriter, Int32& plRecycleBinCount)    
    at Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid webId, String strListName)    
    at Microsoft.SharePoint.SPListCollection.ItemByInternalName(String strInternalName, Boolean bThrowException)    
    at Microsoft.SharePoint.SPListCollection.GetListById(Guid uniqueID, Boolean bThrowException)    
    at Microsoft.SharePoint.SPListCollection.get_Item(Guid uniqueID)    
    at Microsoft.SharePoint.SPListCollection.GetList(Guid uniqueId, Boolean fetchMetadata)    
    at Microsoft.SharePoint.SPListCollection.GetById(Guid uniqueId)    
    at Microsoft.SharePoint.ServerStub.SPListCollectionServerStub.InvokeMethod(Object target, String methodName, ClientValueCollection xmlargs, ProxyContext proxyContext, Boolean& isVoid)    
    at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, ClientValueCollection args, ProxyContext proxyContext, Boolean& isVoid)    
    at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.InvokeMethod(Boolean mainRequestPath, Object value, ServerStub serverProxy, EdmParserNode node, Boolean resourceEndpoint, MethodInformation methodInfo, Boolean isExtensionMethod, Boolean isIndexerMethod)    
    at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPathMember(Boolean mainRequestPath, String path, Object value, EdmParserNode node, Boolean resourceEndpoint, MethodInformation& methodInfo)    
    at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPath(Boolean mainRequestPath, String path, String pathForErrorMessage)    
    at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.Process()    
    at Microsoft.SharePoint.Client.Rest.RestRequestProcessor.ProcessRequest()

    Hi
    XantosX5 ,
    Thank you for your posting!
    According to your description, I try to reproduce your scenario in my SharePoint Server 2013 environment.
    I create a lookup column in a list and create a workflow 2013 for the list. In the workflow, I add Send an email action. Then I display the lookup column in the body of the email as the below figure:
    When I start the workflow, it works fine.
    Have you installed
    the workflow manager 1.0 cumulative update 1 ? It can be the point.  If not, please install it.
    Thank you for your understanding and support.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • SharePoint 2013 Workflow Calendar Entry Create Time AM PM Conflict

    Windows 2012, SharePoint 2013 Enterprise.
    I have a change control form that basically creates a calendar entry once it's been approved. Works well, but discovered a bug with the calendar create portion when there are events that have the same time in AM\PM. 
    Use case:
    1. Create a change control item in the list with a planned start time of 2PM, I'll approve it, which then fires off a workflow and it will create an event in the change control calendar for 2PM, all good.
    2. Create another change control item in the list with a planned start time of 2AM this time, I'll approve it, which then fires off a workflow and it will create an event in the change control calendar for 2PM and not 2AM. ???
    Yes the original event entry created in the list shows planned start time of 2AM, but its being created in the calendar entry as 2PM. This only happens when the time is exact. For example if I had created the second entry at 3PM, it will create the calendar
    entry at 3PM. It only happens if there is an existing entry for the same time, then all subsequent entries for the same time will have the same AM\PM depending on the first entry.
    I can manually create an entry in the calendar and specify 2PM and it will take, so its something with the workflow that is causing it. The workflow is very simple all its doing is checking the item to see if the field says approved for the change request
    form if so, create calendar event and carry over the fields, planned start time, planned end time, title description, that's it. 
    James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com

    Hi James,
    In my test per your description, I cannot reproduce the issue, however, I attached the screenshot of my test for your reference, let me know if there is misunderstanding.
    Please capture the screenshot of your workflow process design so I can try to reproduce or find out if there is action that may cause the issue.
    In addition, could you please try to locate workflow error message? If there is obvious error information, please refer to the Activate Workflow Manager Logs part in the article below:
    http://blogs.msdn.com/b/vincent_runge/archive/2014/01/07/troubleshooting-actions-for-sharepoint-2013-workflows.aspx
    Regards,
    Rebecca Tu
    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]

  • Problem refering to a custom activity in a SharePoint 2013 workflow

    I have created a few custom activities to handle common tasks in a workflow. The activities are deployed in a separate sandbox solution from the workflows referencing them.
    This has been working fine for a couple of months now, but suddenly I get an error when trying to activate the feature that provisions the workflow that refers to the custom activity (WriteMessage). The error is:
    Error 1
    Error occurred in deployment step 'Activate Features': Microsoft.Workflow.Client.ActivityValidationException: Workflow XAML failed validation due to the following errors:
    Cannot create unknown type '{wf://workflow.windows.net/default/f0b36ec0-d40f-4df8-a99b-39f6dc4854a8/09e1bc2d-1cc8-4cff-ae22-32a52f54b685/$Activities}WriteMessage'. HTTP headers received from the server - ActivityId: ac291077-6536-4c63-b7b0-7701b6d29268. NodeId:
    DKRDSSP15DEV03. Scope: /SharePoint/default/f0b36ec0-d40f-4df8-a99b-39f6dc4854a8/09e1bc2d-1cc8-4cff-ae22-32a52f54b685. Client ActivityId : e9d2bfd0-bb0e-4c28-bf55-8748368feb5b. ---> System.Net.WebException: The remote server returned an error: (400) Bad
    Request.
       at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)
       at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)
       --- End of inner exception stack trace ---
       at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)
       at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)
       at Microsoft.Workflow.Client.ActivityManager.Publish(ActivityDescription description, Boolean overwriteXClassName, Boolean terminateDependentInstances)
       at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.PublishActivity(String serviceGroupName, ActivityDescription activity, Boolean overwriteXClass, Nullable`1 terminateInstances)
       at Microsoft.SharePoint.WorkflowServices.FabricWorkflowDeploymentProvider.PublishActivity(FabricWorkflowManagementClient client, ActivityDescription activityDefinition, String serviceGroupName)
       at Microsoft.SharePoint.WorkflowServices.FabricWorkflowDeploymentProvider.<>c__DisplayClass5.<PublishDefinition>b__4()
       at Microsoft.SharePoint.WorkflowServices.WorkflowServiceContextExtensions.InvokeWithEcosystemRetry(WorkflowServicesContext context, EcosystemRequiredMethod method)
       at Microsoft.SharePoint.WorkflowServices.FabricWorkflowDeploymentProvider.PublishDefinition(WorkflowDefinition workflowDefinition)
       at Microsoft.SharePoint.WorkflowServices.WorkflowDefinitionStorageEventReceiver.PublishDefinition(SPItemEventProperties properties)
    0 0
    Vestas.SP.CMS.AlarmReports
    I have tried creating a simple workflow using the custom activity, by referencing the sandbox solution. This works fine, if I create the simple workflow in a new project and deploys it and activate the workflow feature. However, if I create a similar simple
    workflow in the original solution and omit the original workflows. Then I still get the above error when deploying / activating the workflow feature. 
    How do I clean up my original project so it does not give me this error when deploying and activating the workflow feature?
    best regards
    Lars Kohsel
    Best regards Lars Kohsel

    Hi,
    As the error still occur when you create a simple workflow in the original project, maybe some configurations have been changed in the project.
    You can check with the new created project whether there are some difference configurations in the project.
    There is a similar article for your reference.
    http://blogs.msdn.com/b/cliffgreen/archive/2013/03/11/sharepoint-2013-workflow-deployment-errors.aspx
    What’s more, you can also copy your original project code to the new project, then check whether it works.
    If it works, the we can use the new project instead of the original project.
    Thanks,
    Jason
    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]
    Jason Guo
    TechNet Community Support

  • SharePoint 2013 workflow task gets canceled

    Just wanted to share my solution to a problem that I was having when creating a SharePoint 2013 Workflow that includes creating a task and assigning it to a group of people. After publishing the workflow and initiating it you get:
    Retrying last request. Next attempt scheduled in less than one minute.
    Microsoft.SharePoint.Client.ResourceNotFoundException: Cannot find resource for the request sp.utilities.utility.ExpandGroupsToPrincipals
    An unhandled exception occurred during the execution of the workflow instance.
      Exception details: System.ApplicationException: HTTP 404 {"error":{"code":"-1, Microsoft.SharePoint.Client.ResourceNotFoundException",
      "message":{"lang":"en-US","value":"Cannot find resource for the request sp.utilities.utility.ExpandGroupsToPrincipals."},
      "innererror":{"message":"Cannot find resource for the request sp.utilities.utility.ExpandGroupsToPrincipals.",
      "type":"Microsoft.SharePoint.Client.ResourceNotFoundException","stacktrace":" at
      Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPathRoot(Boolean mainRequestPath, EdmParserNode node, Boolean resourceEndpoint, MethodInformation& methodInfo)\u000d\u000a at
      Microsoft.SharePoint.Client.Rest.RestRequestProcessor.GetObjectFromPath(Boolean mainRequestPath, String path, String pathForErrorMessage)\u000d\u000a at
      Microsoft.SharePoint.Client.Rest.RestRequestProcessor.Process()\u000d\u000a at
      Microsoft.SharePoint.Client.Rest.RestRequestProcessor.ProcessRequest()\u000d\u000a at
      Microsoft.SharePoint.Client.Rest.RestService.ProcessQuery(Stream inputStream, IList`1 pendingDisposableContainer)"}}
      } {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["46"]
      ,"SPRequestGuid":["624f66f8-a70c-81db-bf0d-c042443f5435"],"request-id":["624f66f8-a70c-81db-bf0d-c042443f5435"],
      "X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4569"],"X-Content-Type-Options":["nosniff"],
      "X-MS-InvokeApp":["1; RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Mon, 06 Apr 2015 22:17:23 GMT"],
      "Server":["Microsoft-IIS\/8.0"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]} at
      Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at
       System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at
       System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    I was not able to find any answer anywhere, so my solution was:
    1. Simply upgrade SharePoint Server 2013 to the latest version which in turn updates Microsoft.Activities.Proxy.dll
    2. Clear the SharePoint Designer cache
      Workflow Error - Sharepoint Designer cannot display the item
      http://community.office365.com/en-us/f/154/t/74327.aspx
    I hope this is helpful to somebody
    Thanks

    Hi Amit,
    According to your description, my understanding is that you want to approve workflow task using web service in SharePoint 2013.
    For troubleshooting this issue, please provide the more detailed code.
    Here are some similar posts, please check if they are useful:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/b999a417-dce3-4590-9173-89aea91f23a3/complete-workflow-after-approving-all-tasks?forum=sharepointdevelopment
    http://www.sharepointblog.in/2013/07/programmatically-approvereject-task-in.html
    http://aarebrot.net/blog/2011/10/how-sloppiness-and-spworkflowtask-altertask-could-inadvertantly-lock-your-workflow-task/
    I hope this helps.
    Thanks,
    Wendy
    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]
    Wendy Li
    TechNet Community Support

  • 2013 Workflows created in SharePoint Designer doesn't seems to work with retension policy!

    Hi Guys, 2013 Workflows created in SharePoint Designer doesn't seems to work with retension policy but 2010 workflows work. Any One have any details resaon or workarround?
    Shafqat Balouch MCT, MCSA, MCSE MCITP, MCPD, Microsoft Partner

    Hi  ,
    According to your description, I can reproduce your scenario in my SharePoint 2013.
    For the Retention Policy, it will schedule how content is managed and disposed by specifying a sequence of retention stages. In SharePoint Designer Workflow 2013, we have looping option available. You can
    use loop option and then pause for duration for achieving same function as Retention Policy to start a workflow.
    Reference:
    http://prasadtechtactics.blogspot.com/2012/07/sharepoint-designer-2013-workflows-part_24.html
    Thanks,
    Eric
    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]
    Eric Tao
    TechNet Community Support

  • Updating In-Flight SharePoint 2013 Workflows (Visual Studio)

    Is there any guidance on the best strategy for upgrading in-flight SharePoint 2013 Workflows?  I am currently developing a SharePoint 2013 Workflow using Visual Studio 2012.  The workflow has 6 phases and may take up to a month to complete. 
    I need a plan for when I will inevitably need to make a change to the workflow.
    I am concerned that simply deploying a new version of a WSP with new XAML might cause a breaking change to in-flight workflows.  This was a major problem in 2007/2010, and in the past I have created a new version of the workflow when deploying a change. 
    SharePoint 2013 designer workflows automatically create a new version when published, but unfortunately with Visual Studio workflows this is not the case.  Updating the WSP and reactivating the feature will force new workflow code to run, but I think
    this could cause issues when the workflow state data is de-serialized.

    Hi,
    According to your post, my understanding is that you want to update in-flight SharePoint visual studio workflow.
    To update the in-flight workflow, such as in the production environment, we can do the steps as below(Make sure you test this first on a DEV server).
    Updated the solution (Update-SPSolution)
    Disabled the feature(Disable-SPFeature)
    Enabled the feature again (Enable-SPFeature)
    Then the existing workflow would use the old version workflow, the new workflow instances would use the new version workflow definition.
    For more information:
    https://social.technet.microsoft.com/Forums/en-US/f3ae607b-a16c-477e-9c2f-f0dc76f6849f/updating-sharepoint-2013-workflow-in-production-environment-not-during-development?forum=sharepointdevelopment
    More reference:
    http://sp2013workflows.blogspot.com/2014/06/update-workflow-definition-in.html
    Thanks,
    Jason
    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]
    Jason Guo
    TechNet Community Support

  • SharePoint 2013 Workflows not working

    Hi All,
    I am currently attempting to get SharePoint 2013 workflows working, i have installed the workflow manager and linked it to SharePoint but when i run any 2013 workflow i get the following error:
    RequestorId: 26c49394-eb06-737a-7fde-d5bbfe4f6505. Details: System.ApplicationException: HTTP 401 The remote server returned an
    error: (500) Internal Server Error. {"SPRequestGuid":["8c76bcc4-3979-41a9-ae18-7221aa418528"],"request-id":["8c76bcc4-3979-41a9-ae18-7221aa418528"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"SPRequestDuration":["24"],"SPIisLatency":["0"],"Server":["Microsoft-IIS\/8.0"],"WWW-Authenticate":["Bearer
    realm=\"8de50181-fbf8-48a5-9cd6-5edb37403fbd\",client_id=\"00000003-0000-0ff1-ce00-000000000000\",trusted_issuers=\"00000005-0000-0000-c000-000000000000@*,[email protected]37403fbd\"","NTLM"],"X-Powered-By":["ASP.NET"],"MicrosoftSharePointTeamServices":["15.0.0.4569"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Date":["Thu, 04 Sep 2014 09:46:31 GMT"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance
    instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    Its worth noting that 2010 workflow run without a problem.
    Any help would be greatly appreciated 
    Thanks
    Jamie

    Hi,
    Based on your description, my understanding is that when you ran SharePoint 2013 workflow, an error occurred.
    You can try to re-register the Workflow Service.
    Here is
    a link about how to configure workflow for SharePoint Server 2013, you can use as a reference:
    http://technet.microsoft.com/en-us/library/jj658588(v=office.15).aspx
    Best Regards,
    Lisa Chen

Maybe you are looking for